[llvm] [llvm-driver] Add driver aliases for c++filt and gcov-tool (PR #92803)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 21:09:36 PDT 2024


================
@@ -39,8 +39,10 @@ _EXTRA_ALIASES = {
     "clang": ["clang++", "clang-cl", "clang-cpp"],
     "lld": ["ld", "lld-link", "ld.lld", "ld64.lld", "wasm-ld"],
     "llvm-ar": ["ranlib", "lib", "dlltool"],
+    "llvm-cxxfilt": ["c++filt"],
     "llvm-objcopy": ["bitcode-strip", "install-name-tool", "strip"],
     "llvm-objdump": ["otool"],
+    "llvm-profdata": ["gcov-tool"],
----------------
MaskRay wrote:

While `llvm-cov gcov` emulates `gcov`, llvm-profdata is an entirely different tool and doesn't emulate `gcov-tool`.

gcov-tool and llvm-profdata are so different. If llvm-profdata symlinked to gcov-tool works, it indicates that gcov-tool is just needed by the build system but isn't actually used.

https://github.com/llvm/llvm-project/pull/92803


More information about the llvm-commits mailing list