aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-19 04:55:25 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-19 04:55:25 +0000
commited8fdb2a0e9503abbac7c0927d2915cd8bac03d2 (patch)
treeada4253e3e564ec1531ca53c5eab3b9fb329f485 /llvm/lib/AsmParser/LLParser.cpp
parent51a9bd2e110f43eb9df14e1daffd89fd0332b9f0 (diff)
downloadllvm-ed8fdb2a0e9503abbac7c0927d2915cd8bac03d2.zip
llvm-ed8fdb2a0e9503abbac7c0927d2915cd8bac03d2.tar.gz
llvm-ed8fdb2a0e9503abbac7c0927d2915cd8bac03d2.tar.bz2
IR: Rename API for enabling ODR uniquing of DITypes, NFC
As per David's review, rename everything in the new API for ODR type uniquing of debug info. ensureDITypeMap => enableDebugTypeODRUniquing destroyDITypeMap => disableDebugTypeODRUniquing hasDITypeMap => isODRUniquingDebugTypes llvm-svn: 266713
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 34f7ec4..987ab5d 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -3843,7 +3843,7 @@ bool LLParser::ParseDICompositeType(MDNode *&Result, bool IsDistinct) {
// type map in the context.
DIType **MappedT = nullptr;
if (!(flags.Val & DINode::FlagFwdDecl) && identifier.Val &&
- (MappedT = Context.getOrInsertDITypeMapping(*identifier.Val)) &&
+ (MappedT = Context.getOrInsertODRUniquedType(*identifier.Val)) &&
*MappedT) {
Result = *MappedT;
return false;