diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-08-18 19:07:42 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-08-18 19:07:42 +0000 |
commit | 74acf9f501d927ba7c65a43248d759b12c70d6d1 (patch) | |
tree | f87e7bbc4b250cb9551e540f5e9c78df3c8d3be6 /llvm/lib/Transforms | |
parent | 222e187e33315de3e7f373abbf11714cece9aae3 (diff) | |
download | bcm5719-llvm-74acf9f501d927ba7c65a43248d759b12c70d6d1.tar.gz bcm5719-llvm-74acf9f501d927ba7c65a43248d759b12c70d6d1.zip |
The edge from DISubprogram to DICompileUnit has been removed in recent versions
of debug info.
llvm-svn: 137972
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp index 68d863409ae..089c8b98761 100644 --- a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp @@ -380,7 +380,7 @@ void GCOVProfiler::emitGCNO() { for (unsigned i = 0, e = SPs.getNumElements(); i != e; ++i) { DISubprogram SP(SPs.getElement(i)); if (!SP.Verify()) continue; - raw_fd_ostream *&os = GcnoFiles[SP.getCompileUnit()]; + raw_fd_ostream *&os = GcnoFiles[CU]; Function *F = SP.getFunction(); if (!F) continue; |