...

Text file src/debug/dwarf/testdata/bitfields.c

Documentation: debug/dwarf/testdata

     1// Copyright 2022 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5/*
     6Linux ELF:
     7gcc -gdwarf-4 -m64 -c bitfields.c -o bitfields.elf4
     8*/
     9
    10typedef struct another_struct {
    11  unsigned short quix;
    12  int xyz[0];
    13  unsigned  x:1;
    14  long long array[40];
    15} t_another_struct;
    16t_another_struct q2;
    17

View as plain text