[llvm] [llvm] annotate interfaces in llvm/ProfileData for DLL export (PR #142861)
Andrew Rogers via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 09:58:47 PDT 2025
andrurogerz wrote:
This PR is causing some test failures in various Buildbot runs. Fix is clear, and I will have a PR up soon; I don't think this needs to be reverted.
```
Command Output (stdout):
--
408c408
< void deserializeTo(InstrProfRecord &Record,
---
> LLVM_ABI void deserializeTo(InstrProfRecord &Record,
415c415
< void swapBytes(llvm::endianness Old, llvm::endianness New);
---
> LLVM_ABI void swapBytes(llvm::endianness Old, llvm::endianness New);
452c452
< static uint32_t getSize(const InstrProfRecord &Record);
---
> LLVM_ABI static uint32_t getSize(const InstrProfRecord &Record);
456c456
< static std::unique_ptr<ValueProfData>
---
> LLVM_ABI static std::unique_ptr<ValueProfData>
461c461
< Error checkIntegrity();
---
> LLVM_ABI Error checkIntegrity();
467c467
< static Expected<std::unique_ptr<ValueProfData>>
---
> LLVM_ABI static Expected<std::unique_ptr<ValueProfData>>
474c474
< void swapBytesToHost(llvm::endianness Endianness);
---
> LLVM_ABI void swapBytesToHost(llvm::endianness Endianness);
478c478
< void swapBytesFromHost(llvm::endianness Endianness);
---
> LLVM_ABI void swapBytesFromHost(llvm::endianness Endianness);
482c482
< uint32_t getSize() const { return TotalSize; }
---
> LLVM_ABI uint32_t getSize() const { return TotalSize; }
486c486
< void deserializeTo(InstrProfRecord &Record,
---
> LLVM_ABI void deserializeTo(InstrProfRecord &Record,
--
```
https://github.com/llvm/llvm-project/pull/142861
More information about the llvm-commits
mailing list