diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-10 18:40:01 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-10 18:40:01 +0000 |
commit | b8e48a636e7ee6c13140382eb93d9695a65b0624 (patch) | |
tree | 9dfcb4342241d83d94b2f4e8cb036108204ce4b7 /tools | |
parent | 75a3ad485cb97556145483eb06c88782a7c83697 (diff) | |
download | external_llvm-b8e48a636e7ee6c13140382eb93d9695a65b0624.zip external_llvm-b8e48a636e7ee6c13140382eb93d9695a65b0624.tar.gz external_llvm-b8e48a636e7ee6c13140382eb93d9695a65b0624.tar.bz2 |
Debug Info: In DIBuilder, the context field of subprogram is updated to use
DIScopeRef.
A paired commit at clang is required due to changes to DIBuilder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 0055bb0..8a8da01 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -404,7 +404,7 @@ struct BreakpointPrinter : public ModulePass { "A MDNode in llvm.dbg.sp should be null or a DISubprogram."); if (!SP) continue; - getContextName(SP.getContext(), Name); + getContextName(SP.getContext().resolve(TypeIdentifierMap), Name); Name = Name + SP.getDisplayName().str(); if (!Name.empty() && Processed.insert(Name)) { Out << Name << "\n"; |