diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-12-27 17:18:50 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-12-27 17:26:14 -0800 |
commit | c51b45e32ef7f35c11891f60871aa9c2c04cd991 (patch) | |
tree | c6720c4c58684823588d2eda44ef6c30defec722 /llvm/lib/AsmParser/LLParser.cpp | |
parent | a33cab0f06e38423dbb17ce4d9ea91f93f1f92fb (diff) | |
download | bcm5719-llvm-c51b45e32ef7f35c11891f60871aa9c2c04cd991.tar.gz bcm5719-llvm-c51b45e32ef7f35c11891f60871aa9c2c04cd991.zip |
DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization
Follow-up to r346788 review feedback from Adrian Prantl.
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index 1a17f633ae1..5d3f5bcd696 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -4656,7 +4656,7 @@ bool LLParser::ParseDICompileUnit(MDNode *&Result, bool IsDistinct) { OPTIONAL(splitDebugInlining, MDBoolField, = true); \ OPTIONAL(debugInfoForProfiling, MDBoolField, = false); \ OPTIONAL(nameTableKind, NameTableKindField, ); \ - OPTIONAL(debugBaseAddress, MDBoolField, = false); + OPTIONAL(rangesBaseAddress, MDBoolField, = false); PARSE_MD_FIELDS(); #undef VISIT_MD_FIELDS @@ -4665,7 +4665,7 @@ bool LLParser::ParseDICompileUnit(MDNode *&Result, bool IsDistinct) { runtimeVersion.Val, splitDebugFilename.Val, emissionKind.Val, enums.Val, retainedTypes.Val, globals.Val, imports.Val, macros.Val, dwoId.Val, splitDebugInlining.Val, debugInfoForProfiling.Val, nameTableKind.Val, - debugBaseAddress.Val); + rangesBaseAddress.Val); return false; } |