diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-08-24 18:29:49 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-08-24 18:29:49 +0000 |
commit | a01f29532289f5fbebcc4f9bc5399fec0c715807 (patch) | |
tree | 6a2b6698b1d341f94b4e81a1e39679eaa1df790e /llvm/lib/AsmParser/LLParser.cpp | |
parent | abd2be1e2e529c096dea280464ac1972977a7ecd (diff) | |
download | bcm5719-llvm-a01f29532289f5fbebcc4f9bc5399fec0c715807.tar.gz bcm5719-llvm-a01f29532289f5fbebcc4f9bc5399fec0c715807.zip |
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
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index a2fcbf41204..e97202dd989 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -3969,14 +3969,16 @@ bool LLParser::ParseDICompileUnit(MDNode *&Result, bool IsDistinct) { OPTIONAL(globals, MDField, ); \ OPTIONAL(imports, MDField, ); \ OPTIONAL(macros, MDField, ); \ - OPTIONAL(dwoId, MDUnsignedField, ); + OPTIONAL(dwoId, MDUnsignedField, ); \ + OPTIONAL(splitDebugInlining, MDBoolField, = true); PARSE_MD_FIELDS(); #undef VISIT_MD_FIELDS Result = DICompileUnit::getDistinct( Context, language.Val, file.Val, producer.Val, isOptimized.Val, flags.Val, runtimeVersion.Val, splitDebugFilename.Val, emissionKind.Val, enums.Val, - retainedTypes.Val, globals.Val, imports.Val, macros.Val, dwoId.Val); + retainedTypes.Val, globals.Val, imports.Val, macros.Val, dwoId.Val, + splitDebugInlining.Val); return false; } |