[PATCH] D38908: Do not link clang_rt.cfi on Android.

Evgenii Stepanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 17:44:17 PDT 2017

eugenis added inline comments.

Comment at: clang/test/Driver/sanitizer-ld.c:605
-// CHECK-CFI-ANDROID: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}"
-// CHECK-CFI-ANDROID-NOT: libclang_rt.cfi
-// CHECK-CFI-ANDROID-NOT: __cfi_check
pcc wrote:
> Why was this passing before?
because android has NeedsSharedRt, and clang driver never adds clang_rt.cfi as a shared library.


More information about the cfe-commits mailing list