diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2015-03-02 04:37:11 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2015-03-02 04:37:11 +0000 |
| commit | 968ceddca9a80197db8c785faf80fa9fc44ef7cd (patch) | |
| tree | 8dbdae677d41bfef027a535cd2461b69d0a88163 /llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | |
| parent | 9c26bcca5a09c226ec0d702e8e644ad71188d298 (diff) | |
| download | bcm5719-llvm-968ceddca9a80197db8c785faf80fa9fc44ef7cd.tar.gz bcm5719-llvm-968ceddca9a80197db8c785faf80fa9fc44ef7cd.zip | |
Revert r230930, it caused PR22747.
llvm-svn: 230932
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h index 3aa2547fc79..6d55c038541 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h +++ b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h @@ -9,14 +9,12 @@ #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H #define LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H -#include "llvm/ADT/SmallString.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DebugInfo.h" #include "llvm/MC/MCSymbol.h" #include "llvm/MC/MachineLocation.h" namespace llvm { -class AsmPrinter; class MDNode; /// \brief This struct describes location entries emitted in the .debug_loc /// section. @@ -86,8 +84,6 @@ private: /// A nonempty list of locations/constants belonging to this entry, /// sorted by offset. SmallVector<Value, 1> Values; - SmallString<8> DWARFBytes; - SmallVector<std::string, 1> Comments; public: DebugLocEntry(const MCSymbol *B, const MCSymbol *E, Value Val) @@ -150,16 +146,6 @@ public: }), Values.end()); } - - void finalize(const AsmPrinter &AP, - const DITypeIdentifierMap &TypeIdentifierMap); - StringRef getDWARFBytes() const { - assert(!DWARFBytes.empty() && "DebugLocEntry not finalized?"); - return DWARFBytes; - } - const SmallVectorImpl<std::string> &getComments() const { - return Comments; - } }; /// Compare two Values for equality. |

