mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user