diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-05-07 17:26:14 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-05-07 17:26:14 +0000 |
| commit | 17f0f65499c7a694c5bb57241dd9f076a1b814e4 (patch) | |
| tree | 95d9d3a7738e794289b864992cc6c1bc5dff499a /llvm/include | |
| parent | fb23ddf661b80010ceae95c29b5706b143c409b5 (diff) | |
| download | bcm5719-llvm-17f0f65499c7a694c5bb57241dd9f076a1b814e4.tar.gz bcm5719-llvm-17f0f65499c7a694c5bb57241dd9f076a1b814e4.zip | |
Temporarily revert r71158. It was causing a failure during a full bootstrap:
checking for bcopy... no
checking for getc_unlocked... Assertion failed: (0 && "Unknown SCEV kind!"), function operator(), file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/Analysis/ScalarEvolution.cpp, line 511.
/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/libdecnumber/decUtility.c:360: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[4]: *** [decUtility.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Assertion failed: (0 && "Unknown SCEV kind!"), function operator(), file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/Analysis/ScalarEvolution.cpp, line 511.
/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/libdecnumber/decNumber.c:5591: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[4]: *** [decNumber.o] Error 1
make[3]: *** [all-stage2-libdecnumber] Error 2
make[3]: *** Waiting for unfinished jobs....
llvm-svn: 71165
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Analysis/DebugInfo.h | 14 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/DwarfWriter.h | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/DebugInfo.h b/llvm/include/llvm/Analysis/DebugInfo.h index f398fe43e05..908379726e9 100644 --- a/llvm/include/llvm/Analysis/DebugInfo.h +++ b/llvm/include/llvm/Analysis/DebugInfo.h @@ -321,6 +321,19 @@ namespace llvm { bool describes(const Function *F); }; + /// DIInlinedSubprogram - This is a wrapper for an inlined subprogram. + class DIInlinedSubprogram : public DIGlobal { + public: + explicit DIInlinedSubprogram(GlobalVariable *GV = 0); + DICompositeType getType() const { return getFieldAs<DICompositeType>(8); } + + /// Verify - Verify that an inlined subprogram descriptor is well formed. + bool Verify() const; + + /// dump - print inlined subprogram. + void dump() const; + }; + /// DIGlobalVariable - This is a wrapper for a global variable. class DIGlobalVariable : public DIGlobal { public: @@ -363,6 +376,7 @@ namespace llvm { public: explicit DIBlock(GlobalVariable *GV = 0); + DICompileUnit getCompileUnit() const{ return getFieldAs<DICompileUnit>(1); } DIDescriptor getContext() const { return getDescriptorField(1); } }; diff --git a/llvm/include/llvm/CodeGen/DwarfWriter.h b/llvm/include/llvm/CodeGen/DwarfWriter.h index facd5f6e6a5..952d9ea84cb 100644 --- a/llvm/include/llvm/CodeGen/DwarfWriter.h +++ b/llvm/include/llvm/CodeGen/DwarfWriter.h @@ -91,7 +91,7 @@ public: unsigned RecordRegionStart(GlobalVariable *V); /// RecordRegionEnd - Indicate the end of a region. - unsigned RecordRegionEnd(GlobalVariable *V); + unsigned RecordRegionEnd(GlobalVariable *V, DISubprogram &SP); /// getRecordSourceLineCount - Count source lines. unsigned getRecordSourceLineCount(); |

