[PATCH] D51905: Front-end of the implementation of the interleaving algorithm

Zhaomo Yang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 13 16:31:58 PDT 2018


zhaomo added inline comments.


================
Comment at: compiler-rt/test/cfi/lit.cfg:33
   dso = '-fsanitize-cfi-cross-dso -fvisibility=default '
+  interleave = '-Xclang -enable-vtable-interleaving -Wl,-plugin-opt,-enable-vtable-interleaving -Wl,-plugin-opt=save-temps -fno-sanitize=cfi-mfcall '
   if config.android:
----------------
vlad.tsyrklevich wrote:
> Can get rid of at least save-temps here, do we need to pass -enable-vtable-interleaving to the linker?
I was debugging with save-temps and I forgot to remove it.

Currently we need to pass -enable-vtable-interleaving to the linker because the front-end and back-end are controlled by two separate flags.



https://reviews.llvm.org/D51905





More information about the cfe-commits mailing list