ASan declares these functions as strongly-defined, which results in
'duplicate symbol' errors when trying to replace them in user code when
linking the runtimes statically.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/asan/TestCases/replaceable_new_delete.cpp | ||
---|---|---|
1 ↗ | (On Diff #336563) | This test is failing on Windows: https://lab.llvm.org/buildbot/#/builders/127/builds/9062 |
compiler-rt/test/asan/TestCases/replaceable_new_delete.cpp | ||
---|---|---|
1 ↗ | (On Diff #336563) | Thanks, submitted 15689f3af018c420403bb0fd0df0aa5f79796b94 to disable this test on windows. I think the issue can be permanently solved using some of the SANITIZER_INTERFACE_WEAK_DEF(ReturnType, Name, ...) macros in compiler-rt, but I don't have a Windows machine to test on. The test disablement on Windows is fine, it just means that Windows isn't getting the new replaceable behaviour. |