diff options
author | Tomohiro Kashiwada <kikairoya@gmail.com> | 2025-08-04 22:07:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 16:07:02 +0300 |
commit | 80dae158318a42f6217a38b1f8ec9299c7390234 (patch) | |
tree | 152005072c6c8bb5f55a8a34d37ad2ad23775f55 /llvm/lib/Object/ObjectFile.cpp | |
parent | 1406058cbacc8720042eed15a087f8ff1b5c5e1c (diff) | |
download | llvm-80dae158318a42f6217a38b1f8ec9299c7390234.zip llvm-80dae158318a42f6217a38b1f8ec9299c7390234.tar.gz llvm-80dae158318a42f6217a38b1f8ec9299c7390234.tar.bz2 |
[clang][DebugInfo] Disable VTable debug info (#130255) on COFF platforms (#151684)
On COFF platform, d1b0cbff806b50d399826e79b9a53e4726c21302 generates a
debug info linked with VTable regardless definition is present or not.
If that VTable ends up implicitly dllimported from another DLL, ld.bfd
produces a runtime pseudo relocation for it (LLD doesn't, since
d17db6066d2524856fab493dd894f8396e896bc7). If the debug section is
stripped, the runtime pseudo relocation points to memory space outside
of the module, causing an access violation.
At this moment, we simply disable VTable debug info on COFF platform to
avoid this problem.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions