[PATCH] D105176: [InstrProfiling] Use external weak reference for bias variable
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 2 06:05:56 PDT 2021
thakis added a comment.
This breaks 52 libprofile tests on macOS: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8842844620347296624/+/u/package_clang/stdout?format=raw
Undefined symbols for architecture x86_64:
"___llvm_profile_counter_bias", referenced from:
___llvm_profile_initialize_file in libclang_rt.profile_osx.a(InstrProfilingFile.c.o)
___llvm_profile_initialize in libclang_rt.profile_osx.a(InstrProfilingFile.c.o)
_relocateCounters in libclang_rt.profile_osx.a(InstrProfilingFile.c.o)
ld: symbol(s) not found for architecture x86_64
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
I reverted this in a92964779cb5fa59e832816b14a30bc8dbf927a9 <https://reviews.llvm.org/rGa92964779cb5fa59e832816b14a30bc8dbf927a9> for now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105176/new/
https://reviews.llvm.org/D105176
More information about the llvm-commits
mailing list