Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
I'm now working on ASan for Windows anymore, Reid (rnk) should be the reviewer instead.
This patch in itself is rather straightforward. But should we do something similar for e.g. the itanium ABI's corresponding functions? Would we in that case need to know whether libcxx will be linked statically or dynamically?
In mingw setups, not even the compiler driver knows which one it will be, only the linker knows once it sees whether e.g. libc++.dll.a or libc++.a is available.
Bump. This one in itself is straightforward, but I'm wondering if we need to export the corresponding itanium abi symbols.
I tested asan with c++ allocated memory with this patch as is though, and that seemed to work as it should.
Actually, looking closer at it, the #else case that this hits already sets dllexport attributes, which seem to work just fine on the new/delete operators in itanium ABI mode. So then there's indeed no need for anything else than this.