search for: api3

Displaying 1 result from an estimated 1 matches for "api3".

Did you mean: api
2020 Sep 15
2
[ELF] String literals don't obey -fdata-sections
...master/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp#L799. [1] I came across the following GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 where they have fixed the issue back in 2015. Any reason not to do so in LLVM? My code example: - static library 1 : expose functions api1() and api3() > #include "lib1.h" > > static char *test = "Test"; > static char *unused = "Unused"; > > void api1(){ > printf(test); > } > > void api3(){ > printf(unused); > } - shared library : use only function api1() from static libra...