mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Debug Info: cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -216,10 +216,10 @@ public:
|
||||
|
||||
int FuncFlags = llvm::DIDescriptor::FlagPrototyped;
|
||||
assert(CUNode && FileNode);
|
||||
MDNode *Sub = Builder.createFunction(
|
||||
DISubprogram Sub = Builder.createFunction(
|
||||
DICompileUnit(CUNode), F.getName(), MangledName, DIFile(FileNode), Line,
|
||||
Sig, Local, IsDefinition, ScopeLine, FuncFlags, IsOptimized, &F);
|
||||
assert(DISubprogram(Sub).isSubprogram());
|
||||
assert(Sub.isSubprogram());
|
||||
DEBUG(dbgs() << "create subprogram mdnode " << Sub << ": "
|
||||
<< "\n");
|
||||
|
||||
|
Reference in New Issue
Block a user