diff options
author | Fangrui Song <i@maskray.me> | 2025-01-02 23:01:28 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-01-02 23:01:28 -0800 |
commit | 82fecab85ae2d72ffac0e44749d99f12d6f71cc0 (patch) | |
tree | cd9dc2344f8c1f862f5738080a2140d9dae17801 /clang/lib/Basic/CodeGenOptions.cpp | |
parent | 30b73ed7bd8934c32e4bd5430bccf52a226deabd (diff) | |
download | llvm-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.cpp | 2 |
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 |