dwarves/MANIFEST
Arnaldo Carvalho de Melo 75f3520fed strings: Rename strings.h to avoid clashing with /usr/include/strings.h
This was detected with:

  In file included from /home/acme/git/pahole/strings.h:9,
                   from /usr/include/string.h:432,
                   from /home/acme/git/pahole/lib/bpf/src/libbpf_common.h:12,
                   from /home/acme/git/pahole/lib/bpf/src/libbpf.h:20,
                   from /home/acme/git/pahole/lib/bpf/src/ringbuf.c:20:
  /home/acme/git/pahole/lib/bpf/src/btf.h:33:11: error: expected ‘;’ before ‘void’
     33 | LIBBPF_API void btf__free(struct btf *btf);
        |           ^~~~~
        |           ;

libbpf_common.h has:

  #include <string.h>

  #ifndef LIBBPF_API
  #define LIBBPF_API __attribute__((visibility("default")))
  #endif

So before defining LIBBPF_API it includes libc's string.h that in turn
includes pahole's strings.h and now it includes:

  #include "lib/bpf/src/btf.h"

That will need the LIBBPF_API, b00m.

So lets just rename pahole's strings.h to pahole_strings.h to avoid this
pitfall.

This patch was moved to before this problem takes place so that we keep
everything bisectable.

Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-10-20 17:11:34 -03:00

71 lines
886 B
Plaintext

config.h.cmake
btfdiff
btf_encoder.c
btf_encoder.h
btf_loader.c
ctf_encoder.c
ctf_encoder.h
ctf_loader.c
dwarf_loader.c
dwarves.c
dwarves.h
dwarves_emit.c
dwarves_emit.h
dwarves_fprintf.c
dwarves_reorganize.c
dwarves_reorganize.h
cmake/modules/FindDWARF.cmake
CMakeLists.txt
codiff.c
ctracer.c
dtagnames.c
elfcreator.c
elfcreator.h
elf_symtab.c
elf_symtab.h
fullcircle
gobuffer.c
gobuffer.h
hash.h
libbtf.c
libbtf.h
list.h
MANIFEST
man-pages/pahole.1
pahole.c
pdwtags.c
pfunct.c
pglobal.c
prefcnt.c
rbtree.c
rbtree.h
scncopy.c
syscse.c
strings.c
pahole_strings.h
dutil.c
dutil.h
changes-v1.13
changes-v1.16
changes-v1.17
changes-v1.18
COPYING
NEWS
README
README.DEBUG
README.btf
README.ctracer
README.tarball
rpm/SPECS/dwarves.spec
lib/Makefile
lib/ctracer_relay.c
lib/ctracer_relay.h
lib/linux.blacklist.cu
ostra/ostra-cg
ostra/python/ostra.py
ctf.h
libctf.c
libctf.h
regtest
lib/bpf/