Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hashing] get_execution_seed: use a non-vague linkage symbol
Follow-up to llvm#96282. Since llvm/lib/Target files are compiled with -fvisibility=hidden, the seed variable in libLLVM.so is hidden in a -DLLVM_BUILD_LLVM_DYLIB=on build. This would cause `hash_value(std::string()), hash_value(StringRef())` to fail since the former (might be part of the main executable) and the latter (llvm/lib/Support/StringRef.cpp in libLLVM.so) use copies in different components.
- Loading branch information