mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +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…
Reference in New Issue
Block a user