diff options
author | Fangrui Song <i@maskray.me> | 2024-06-29 12:55:57 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-06-29 12:55:57 -0700 |
commit | c00ada070207979f092be9046a02fcfff8b9f9ce (patch) | |
tree | a5f0114ba757e34ffce631b40c1dcd7b9eb6f9ae /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 2628a5fd2431184924cdc7d6b926bfeb36b75596 (diff) | |
download | llvm-c00ada070207979f092be9046a02fcfff8b9f9ce.zip llvm-c00ada070207979f092be9046a02fcfff8b9f9ce.tar.gz llvm-c00ada070207979f092be9046a02fcfff8b9f9ce.tar.bz2 |
[Hashing] get_execution_seed: use a non-vague linkage symbol
Follow-up to #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.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions