mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
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
This commit is contained in:
parent
727df2ca81
commit
58e2cdfabd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user