llvm-project/llvm/lib/AsmParser
David Blaikie 66cf14d06b DebugInfo: Add metadata support for disabling DWARF pub sections
In cases where the debugger load time is a worthwhile tradeoff (or less
costly - such as loading from a DWP instead of a variety of DWOs
(possibly over a high-latency/distributed filesystem)) against object
file size, it can be reasonable to disable pubnames and corresponding
gdb-index creation in the linker.

A backend-flag version of this was implemented for NVPTX in
D44385/r327994 - which was fine for NVPTX which wouldn't mix-and-match
CUs. Now that it's going to be a user-facing option (likely powered by
"-gno-pubnames", the same as GCC) it should be encoded in the
DICompileUnit so it can vary per-CU.

After this, likely the NVPTX support should be migrated to the metadata
& the previous flag implementation should be removed.

Reviewers: aprantl

Differential Revision: https://reviews.llvm.org/D50213

llvm-svn: 339939
2018-08-16 21:29:55 +00:00
..
CMakeLists.txt
LLLexer.cpp DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
LLLexer.h [AsmParser] Fix inconsistent declaration parameter name 2018-07-12 02:03:53 +00:00
LLParser.cpp DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
LLParser.h [AsmParser] Fix inconsistent declaration parameter name 2018-07-12 02:03:53 +00:00
LLToken.h DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
LLVMBuild.txt Add dependency from AsmParser to BinaryFormat. 2017-06-07 04:24:33 +00:00
Parser.cpp [ThinLTO] Parse module summary index from assembly 2018-06-26 13:56:49 +00:00