[compiler-rt] [llvm] [clang] [clang-tools-extra] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 15:56:08 PST 2023
================
@@ -147,6 +147,9 @@ def exclude_unsupported_files_for_aix(dirname):
config.substitutions.append(
("%clang_pgouse=", build_invocation(clang_cflags) + " -fprofile-use=")
)
+config.substitutions.append(
+ ("%clangxx_pgouse=", build_invocation(clang_cxxflags) + " -fprofile-use=")
----------------
minglotus-6 wrote:
oh you are correct.
I once used `clangxx_pgouse` in the new test for profile use, but later thought `clang -c` (run up to assembler phase to generate bitcode) together with `opt` and `llvm-lto` is better.
https://github.com/llvm/llvm-project/pull/74008
More information about the llvm-commits
mailing list