aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/CodeGenOptions.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-01-02 23:01:28 -0800
committerFangrui Song <i@maskray.me>2025-01-02 23:01:28 -0800
commit82fecab85ae2d72ffac0e44749d99f12d6f71cc0 (patch)
treecd9dc2344f8c1f862f5738080a2140d9dae17801 /clang/lib/Basic/CodeGenOptions.cpp
parent30b73ed7bd8934c32e4bd5430bccf52a226deabd (diff)
downloadllvm-82fecab85ae2d72ffac0e44749d99f12d6f71cc0.zip
llvm-82fecab85ae2d72ffac0e44749d99f12d6f71cc0.tar.gz
llvm-82fecab85ae2d72ffac0e44749d99f12d6f71cc0.tar.bz2
[gcov] Bump default version to 11.1
The gcov version is set to 11.1 (compatible with gcov 9) even if `-Xclang -coverage-version=` specified version is less than 11.1. Therefore, we can drop producer support for version < 11.1.
Diffstat (limited to 'clang/lib/Basic/CodeGenOptions.cpp')
-rw-r--r--clang/lib/Basic/CodeGenOptions.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Basic/CodeGenOptions.cpp b/clang/lib/Basic/CodeGenOptions.cpp
index 79d7153..95e65ba 100644
--- a/clang/lib/Basic/CodeGenOptions.cpp
+++ b/clang/lib/Basic/CodeGenOptions.cpp
@@ -17,7 +17,6 @@ CodeGenOptions::CodeGenOptions() {
#include "clang/Basic/CodeGenOptions.def"
RelocationModel = llvm::Reloc::PIC_;
- memcpy(CoverageVersion, "408*", 4);
}
void CodeGenOptions::resetNonModularOptions(StringRef ModuleFormat) {
@@ -54,7 +53,6 @@ void CodeGenOptions::resetNonModularOptions(StringRef ModuleFormat) {
}
RelocationModel = llvm::Reloc::PIC_;
- memcpy(CoverageVersion, "408*", 4);
}
} // end namespace clang