summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-08 00:29:41 +0000
committerEric Christopher <echristo@gmail.com>2014-03-08 00:29:41 +0000
commitb1c884410141ea7bdae5d4f9b1559d71cecc3d7c (patch)
tree02f759d522811746bce1820d0e10bdfb5d3df6a1 /include/llvm/CodeGen/AsmPrinter.h
parentd07494f1022c01a51abaad6802900fa3e6068a60 (diff)
downloadllvm-b1c884410141ea7bdae5d4f9b1559d71cecc3d7c.tar.gz
llvm-b1c884410141ea7bdae5d4f9b1559d71cecc3d7c.tar.bz2
llvm-b1c884410141ea7bdae5d4f9b1559d71cecc3d7c.tar.xz
Add support for hashing location information for CU level hashes.
Add a testcase based on sret.cpp where we can now hash the entire compile unit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 56dae2c514..516d4c0679 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -135,7 +135,7 @@ namespace llvm {
public:
virtual ~AsmPrinter();
- const DwarfDebug *getDwarfDebug() const { return DD; }
+ DwarfDebug *getDwarfDebug() { return DD; }
/// isVerbose - Return true if assembly output should contain comments.
///