[PATCH] D54905: [AddressSanitizer] Add flag to disable linking with CXX runtime

Eugene Leviant via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 30 01:40:23 PST 2018


evgeny777 added a comment.

> How do you do this now?

Sometimes with this patch, sometimes simply issuing linker command line manually

> Is that related to https://github.com/google/sanitizers/issues/295 ?

I don't think so. I'm experiencing link error, not C++ standard discrepancy.

> Would turning asan operator new/delete into weak symbols help?

The new operator is already a weak symbol in libcxx, so it looks like an ODR violation, doesn't it?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54905/new/

https://reviews.llvm.org/D54905





More information about the cfe-commits mailing list