diff options
| author | 2019-01-27 16:42:12 +0000 | |
|---|---|---|
| committer | 2019-01-27 16:42:12 +0000 | |
| commit | b773203fb58f3ef282fb69c832d8710cab5bc82d (patch) | |
| tree | e75913f147570fbd75169647b144df85b88a038c /gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp | |
| parent | tweak errno in previous (diff) | |
| download | wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.tar.xz wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.zip | |
Import LLVM 7.0.1 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp')
| -rw-r--r-- | gnu/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
