llvm-project/llvm/tools/llvm-profgen
wlei 6693c562f9 [llvm-profgen] Support to load debug info from a second binary
For reducing binary size purpose, the binary's debug info and executable segment can be separated(like using objcopy --only-keep-debug). Here add support in llvm-profgen to use two binaries as input. The original one is executable binary and added for debug info only binary. Adding a flag `--debug-binary=file-path`, with this, the binary will load debug info from debug binary.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D115948
2022-01-24 17:14:05 -08:00
..
CMakeLists.txt [llvm-profgen] Switch to DWARF-based symbol and ranges 2021-10-29 09:59:12 -07:00
CSPreInliner.cpp [llvm-profgen] Turn on preinliner by default 2021-12-14 17:46:57 -08:00
CSPreInliner.h [CSSPGO] Split context string to deduplicate function name used in the context. 2021-08-30 20:09:29 -07:00
CallContext.h [CSSPGO] Rename the field of SampleContextFrame 2021-10-04 19:06:59 -07:00
ErrorHandling.h [llvm-profgen] Fix bug of setting function entry 2021-11-12 12:18:43 -08:00
PerfReader.cpp [llvm-profgen] Fix warning of enumerated and non-enumerated type in conditional expression 2021-12-16 19:28:55 -08:00
PerfReader.h [CSSPGO][llvm-profgen] Fix external address issues of perf reader (return to external addr part) 2021-12-14 16:40:54 -08:00
ProfileGenerator.cpp [llvm-profgen] Pass iteration value by reference in for-range loops to avoid unnecessary copies 2022-01-14 14:49:57 +00:00
ProfileGenerator.h [CSSPGO] Use nested context-sensitive profile. 2021-12-14 14:40:25 -08:00
ProfiledBinary.cpp [llvm-profgen] Support to load debug info from a second binary 2022-01-24 17:14:05 -08:00
ProfiledBinary.h [llvm-profgen] Support to load debug info from a second binary 2022-01-24 17:14:05 -08:00
llvm-profgen.cpp [llvm-profgen] Support to load debug info from a second binary 2022-01-24 17:14:05 -08:00