diff options
author | Thomas Fransham <tfransham@gmail.com> | 2024-10-28 08:47:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 10:47:40 +0200 |
commit | d7ca703eab7997814de425eaa4fd888563d78831 (patch) | |
tree | 3c9980fa7b72ac31f1fd56ca544b40acd6a7b8c5 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 86f76c3b171f95fd0560339f2ad0f4449277cf8d (diff) | |
download | llvm-d7ca703eab7997814de425eaa4fd888563d78831.zip llvm-d7ca703eab7997814de425eaa4fd888563d78831.tar.gz llvm-d7ca703eab7997814de425eaa4fd888563d78831.tar.bz2 |
Add explicit symbol visibility macros to InstrProfData.inc (#110732)
Add explicit symbol visibility macros to InstrProfData.inc
Annotating these symbols will fix missing symbols for InstrProfTest when
using shared library builds on windows with explicit visibility macros
enabled.
Add a empty fallback definition for LLVM_ABI macro so the code works in
compiler-rt.
This is part of the work to enable LLVM_BUILD_LLVM_DYLIB and plugins on
window.
```
llvm\lld-link : error : undefined symbol: public: void ValueProfData::deserializeTo(InstrProfRecord&, InstrProfSymtab*)
>>> referenced by unittests\ProfileData\InstrProfTest.cpp:1372 void ValueProfileReadWriteTest_value_prof_data_read_write_Test::TestBody()
```
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions