aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2019-07-18 18:22:52 +0000
committerAmy Huang <akhuang@google.com>2019-07-18 18:22:52 +0000
commitf332fe642cc576b7c52c643b7024e6839407d34b (patch)
tree7844f4bda4c09b4d74e5f8ab105c6432a126909a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
parent301c65a8e072e6346aa4bd38ca5dd54ecb41db3f (diff)
downloadllvm-f332fe642cc576b7c52c643b7024e6839407d34b.zip
llvm-f332fe642cc576b7c52c643b7024e6839407d34b.tar.gz
llvm-f332fe642cc576b7c52c643b7024e6839407d34b.tar.bz2
[COFF] Change a variable type to be const in the HeapAllocSite map.
llvm-svn: 366479
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
index ce57b78..7ffd779 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
@@ -148,7 +148,8 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase {
SmallVector<LexicalBlock *, 1> ChildBlocks;
std::vector<std::pair<MCSymbol *, MDNode *>> Annotations;
- std::vector<std::tuple<MCSymbol *, MCSymbol *, DIType *>> HeapAllocSites;
+ std::vector<std::tuple<MCSymbol *, MCSymbol *, const DIType *>>
+ HeapAllocSites;
const MCSymbol *Begin = nullptr;
const MCSymbol *End = nullptr;