about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2021-03-19 16:46:40 -0400
committerAugie Fackler <augie@google.com>2021-03-19 16:46:40 -0400
commitbabe894bab47e43c2a884fe367095905e4e88993 (patch)
treef9fd4d3ba946ba816cf0076aa580aabc292a3470 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentdcdb9ad3d27aca6185af64f2e0318ed47860c6c0 (diff)
downloadrust-babe894bab47e43c2a884fe367095905e4e88993.tar.gz
rust-babe894bab47e43c2a884fe367095905e4e88993.zip
fix: I meant LLVM version 13, not 12
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
index 67074685cf6..35cca04b20f 100644
--- a/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
@@ -23,7 +23,7 @@ extern "C" void LLVMRustCoverageWriteFilenamesSectionToBuffer(
     const char* const Filenames[],
     size_t FilenamesLen,
     RustStringRef BufferOut) {
-#if LLVM_VERSION_GE(12,0)
+#if LLVM_VERSION_GE(13,0)
   SmallVector<std::string,32> FilenameRefs;
   for (size_t i = 0; i < FilenamesLen; i++) {
     FilenameRefs.push_back(std::string(Filenames[i]));