[PATCH] D33216: Generate ubsan shared libraries.
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 13:27:03 PDT 2017
vsk added inline comments.
================
Comment at: lib/ubsan/CMakeLists.txt:174
+ ARCHS ${UBSAN_SUPPORTED_ARCH}
+ OBJECT_LIBS ${UBSAN_COMMON_RUNTIME_OBJECT_LIBS}
+ RTUbsan_cxx
----------------
aoli wrote:
> vsk wrote:
> > Here, it seems like you'd just want 'RTInterception', and not all of '${UBSAN_COMMON_RUNTIME_OBJECT_LIBS}'.
> Oh, RTInterception was added by accident. I think I'm not using it either. Shall I keep share libraries' `OBJECT_LIBS` just the same as those for static libraries?
I think it's a good idea to keep the OBJECT_LIBS as close to possible as those for static libraries. Could you double-check that RTInterception isn't needed in just this specific case? I do see some Windows-specific code in lib/ubsan that sets up interceptors.
https://reviews.llvm.org/D33216
More information about the llvm-commits
mailing list