llvm-capstone/lld/test
Sriraman Tallam 34e70d722d Append ".__part." to every basic block section symbol.
Every basic block section symbol created by -fbasic-block-sections will contain
".__part." to know that this symbol corresponds to a basic block fragment of
the function.

This patch solves two problems:

a) Like D89617, we want function symbols with suffixes to be properly qualified
   so that external tools like profile aggregators know exactly what this
   symbol corresponds to.
b) The current basic block naming just adds a ".N" to the symbol name where N is
   some integer. This collides with how clang creates __cxx_global_var_init.N.
   clang creates these symbol names to call constructor functions and basic
   block symbol naming should not use the same style.

Fixed all the test cases and added an extra test for __cxx_global_var_init
breakage.

Differential Revision: https://reviews.llvm.org/D93082
2020-12-23 11:35:44 -08:00
..
COFF [llvm-symbolizer][Windows] Add start line when searching in line table sections. 2020-12-17 07:57:36 -08:00
darwin
ELF Append ".__part." to every basic block section symbol. 2020-12-23 11:35:44 -08:00
mach-o Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
MachO [lld-macho] Simulator & DriverKit executables should always be PIE 2020-12-23 11:24:12 -05:00
MinGW Reapply [LLD] [COFF] Implement a GNU/ELF like -wrap option 2020-10-15 22:14:02 +03:00
Unit
wasm [WebAssembly][lld] Exclude COMDAT sections 2020-12-10 17:47:41 -08:00
CMakeLists.txt lld: Make tests depend on llvm-symbolizer after bc98034040 2020-11-18 11:43:44 -05:00
lit.cfg.py [lld][WebAssembly] Add suppport for PIC + passive data initialization 2020-12-04 17:28:23 -08:00
lit.site.cfg.py.in