projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
727df2c
)
The edge from DISubprogram to DICompileUnit has been removed in recent versions
author
Nick Lewycky
<nicholas@mxc.ca>
Thu, 18 Aug 2011 19:07:42 +0000
(19:07 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Thu, 18 Aug 2011 19:07:42 +0000
(19:07 +0000)
of debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137972
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Instrumentation/GCOVProfiling.cpp
b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index 68d863409aee2735202f172a3f175779b707bcbc..089c8b9876116c1e6fe4970b676d53508b744501 100644
(file)
--- a/
lib/Transforms/Instrumentation/GCOVProfiling.cpp
+++ b/
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;