summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-03-06 03:15:21 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-03-06 03:15:21 +0000
commit732e443bb9eebf5ba1a9dbf0df1104057b8fa2ac (patch)
tree7c68da8169bdcb4fed36bfd21290d33ff3a7ddfc /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
parent8fd561f572b8992f3e1b94192e0285fbd237636b (diff)
downloadbcm5719-llvm-732e443bb9eebf5ba1a9dbf0df1104057b8fa2ac.tar.gz
bcm5719-llvm-732e443bb9eebf5ba1a9dbf0df1104057b8fa2ac.zip
Revert "[DWARFv5] Emit file 0 to the line table."
Caused an asan failure. This reverts commit d54883f081186cdcce74e6f98cfc0438579ec019. aka r326758 llvm-svn: 326762
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index 9752a961183..5de39637f52 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -306,10 +306,6 @@ public:
const MCSymbol *Label,
const MCSymbol *Sec);
- /// If the \p File has an MD5 checksum, return it as an MD5Result
- /// allocated in the MCContext.
- MD5::MD5Result *getMD5AsBytes(const DIFile *File) const;
-
protected:
~DwarfUnit();
@@ -320,6 +316,10 @@ protected:
/// create a new ID and insert it in the line table.
virtual unsigned getOrCreateSourceID(const DIFile *File) = 0;
+ /// If the \p File has an MD5 checksum, return it as an MD5Result
+ /// allocated in the MCContext.
+ MD5::MD5Result *getMD5AsBytes(const DIFile *File);
+
/// Look in the DwarfDebug map for the MDNode that corresponds to the
/// reference.
template <typename T> T *resolve(TypedDINodeRef<T> Ref) const {
OpenPOWER on IntegriCloud