From b773203fb58f3ef282fb69c832d8710cab5bc82d Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 27 Jan 2019 16:42:12 +0000 Subject: Import LLVM 7.0.1 release including clang, lld and lldb. --- gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp') diff --git a/gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp b/gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp index ccc20eb7488..0f155a95d60 100644 --- a/gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp +++ b/gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp @@ -109,7 +109,7 @@ Error DebugChecksumsSubsection::commit(BinaryStreamWriter &Writer) const { } uint32_t DebugChecksumsSubsection::mapChecksumOffset(StringRef FileName) const { - uint32_t Offset = Strings.getStringId(FileName); + uint32_t Offset = Strings.getIdForString(FileName); auto Iter = OffsetMap.find(Offset); assert(Iter != OffsetMap.end()); return Iter->second; -- cgit v1.2.3-59-g8ed1b