DebugInfo: Add flag to CU to disable emission of inline debug info into the skeleton CU
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 24 Aug 2016 18:29:49 +0000 (18:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 24 Aug 2016 18:29:49 +0000 (18:29 +0000)
commita01f29532289f5fbebcc4f9bc5399fec0c715807
tree6a2b6698b1d341f94b4e81a1e39679eaa1df790e
parentabd2be1e2e529c096dea280464ac1972977a7ecd
DebugInfo: Add flag to CU to disable emission of inline debug info into the skeleton CU

In cases where .dwo/.dwp files are guaranteed to be available, skipping
the extra online (in the .o file) inline info can save a substantial
amount of space - see the original r221306 for more details there.

llvm-svn: 279650
12 files changed:
llvm/include/llvm/IR/DIBuilder.h
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/test/Assembler/dicompileunit.ll
llvm/test/DebugInfo/X86/fission-no-inlining.ll [new file with mode: 0644]
llvm/unittests/IR/MetadataTest.cpp