1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/CodeGen/AsmPrinter
David Blaikie 831e5b558b DebugInfo: Avoid using split DWARF when the split unit would be empty.
In ThinLTO many split CUs may be effectively empty because of the lack
of support for cross-unit references in split DWARF.

Using a split unit in those cases is just a waste/overhead - and turned
out to be one contributor to a significant symbolizer performance issue
when global variable debug info was being imported (see r348416 for the
primary fix) due to symbolizers seeing CUs with no ranges, assuming
there might still be addresses covered and walking into the split CU to
see if there are any ranges (when that split CU was in a DWP file, that
meant loading the DWP and its index, the index was extra large because
of all these fractured/empty CUs... and so was very expensive to load).

(the 3rd fix which will follow, is to assume that a CU with no ranges is
empty rather than merely missing its CU level range data - and to not
walk into its DIEs (split or otherwise) in search of address information
that is generally not present)

llvm-svn: 349207
2018-12-14 22:44:46 +00:00
..
AccelTable.cpp
AddressPool.cpp DebugInfo: Use debug_addr for non-dwo addresses in DWARF 5 2018-10-20 06:02:15 +00:00
AddressPool.h [DWARF] - Emit the correct value for DW_AT_addr_base. 2018-09-20 09:17:36 +00:00
ARMException.cpp
AsmPrinter.cpp Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
AsmPrinterDwarf.cpp Revert r347490 as it breaks address sanitizer builds 2018-11-23 17:13:06 +00:00
AsmPrinterHandler.h
AsmPrinterInlineAsm.cpp [MC] Separate masm integer literal lexer support from inline asm 2018-10-24 20:23:57 +00:00
ByteStreamer.h
CMakeLists.txt Revert "[BTF] Add BTF DebugInfo" 2018-11-30 16:54:43 +00:00
CodeViewDebug.cpp [codeview] Add begin/endSymbolRecord helpers, NFC 2018-12-14 22:40:28 +00:00
CodeViewDebug.h [codeview] Add begin/endSymbolRecord helpers, NFC 2018-12-14 22:40:28 +00:00
DbgEntityHistoryCalculator.cpp [DebugInfo] Do not generate label debug info if it has been processed. 2018-09-06 02:22:06 +00:00
DbgEntityHistoryCalculator.h [DebugInfo] Do not generate label debug info if it has been processed. 2018-09-06 02:22:06 +00:00
DebugHandlerBase.cpp Revert "[BTF] Add BTF DebugInfo" 2018-11-30 16:54:43 +00:00
DebugHandlerBase.h Revert "[BTF] Add BTF DebugInfo" 2018-11-30 16:54:43 +00:00
DebugLocEntry.h llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
DebugLocStream.cpp
DebugLocStream.h
DIE.cpp [DebugInfo] Rename EmitDebugThreadLocal back to EmitDebugValue. NFC 2018-11-28 11:48:07 +00:00
DIEHash.cpp
DIEHash.h
DIEHashAttributes.def
DwarfCFIException.cpp
DwarfCompileUnit.cpp DebugInfo: Move addAddrBase from DwarfUnit to DwarfCompileUnit 2018-12-14 22:34:03 +00:00
DwarfCompileUnit.h DebugInfo: Move addAddrBase from DwarfUnit to DwarfCompileUnit 2018-12-14 22:34:03 +00:00
DwarfDebug.cpp DebugInfo: Avoid using split DWARF when the split unit would be empty. 2018-12-14 22:44:46 +00:00
DwarfDebug.h DebugInfo: Avoid using split DWARF when the split unit would be empty. 2018-12-14 22:44:46 +00:00
DwarfException.h
DwarfExpression.cpp Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-19 06:12:02 +00:00
DwarfExpression.h [DebugInfo] Normalize common kinds of DWARF sub-expressions. 2018-09-05 10:18:36 +00:00
DwarfFile.cpp DebugInfo: Avoid using split DWARF when the split unit would be empty. 2018-12-14 22:44:46 +00:00
DwarfFile.h NFC: DebugInfo: Track the origin CU rather than just the base address for range lists 2018-11-08 00:35:54 +00:00
DwarfStringPool.cpp Use the container form llvm::sort(C, ...) 2018-09-30 22:31:29 +00:00
DwarfStringPool.h
DwarfUnit.cpp DebugInfo: Move addAddrBase from DwarfUnit to DwarfCompileUnit 2018-12-14 22:34:03 +00:00
DwarfUnit.h DebugInfo: Move addAddrBase from DwarfUnit to DwarfCompileUnit 2018-12-14 22:34:03 +00:00
EHStreamer.cpp Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
EHStreamer.h Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
ErlangGCPrinter.cpp [GC] Rename a header for consistency 2018-11-10 16:08:10 +00:00
LLVMBuild.txt
OcamlGCPrinter.cpp [GC] Rename a header for consistency 2018-11-10 16:08:10 +00:00
WasmException.cpp [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
WasmException.h [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
WinCFGuard.cpp
WinCFGuard.h
WinException.cpp [ARM64][Windows] MCLayer support for exception handling 2018-10-27 06:13:06 +00:00
WinException.h [ARM64][Windows] MCLayer support for exception handling 2018-10-27 06:13:06 +00:00