diff options
author | Manman Ren <mren@apple.com> | 2013-07-02 18:37:35 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-07-02 18:37:35 +0000 |
commit | d0e67aa1ce2ee4eb9d30dd0762c530fc66c91320 (patch) | |
tree | 85145c9719557477a3b8685a1155294bfbeb3f74 /llvm/lib/Transforms/Instrumentation/DebugIR.cpp | |
parent | 802b055e78eefeb459b26a1d1db89da8d6dbdc55 (diff) | |
download | bcm5719-llvm-d0e67aa1ce2ee4eb9d30dd0762c530fc66c91320.tar.gz bcm5719-llvm-d0e67aa1ce2ee4eb9d30dd0762c530fc66c91320.zip |
Debug Info: cleanup
llvm-svn: 185456
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DebugIR.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/DebugIR.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp index 7bc4da7a8f7..f4109eff4f5 100644 --- a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp +++ b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp @@ -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"); |