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 | 58e2cdfabd7b7c9a780dc086add162262c671ac4 (patch) | |
tree | 2c6907c34a5b6bc26c6b361bd6669e50f01aa18b /lib/Transforms/Instrumentation | |
parent | 727df2ca81346bdd57b330d557f39d876a698136 (diff) | |
download | llvm-58e2cdfabd7b7c9a780dc086add162262c671ac4.tar.gz llvm-58e2cdfabd7b7c9a780dc086add162262c671ac4.tar.bz2 llvm-58e2cdfabd7b7c9a780dc086add162262c671ac4.tar.xz |
The edge from DISubprogram to DICompileUnit has been removed in recent versions
of debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r-- | lib/Transforms/Instrumentation/GCOVProfiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/lib/Transforms/Instrumentation/GCOVProfiling.cpp index 68d863409a..089c8b9876 100644 --- 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; |