[compiler-rt] r301065 - [cfi] Disable thinlto tests on Darwin.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 17:28:52 PDT 2017


Thanks! Sorry for not catching this during review. I've updated the bug
with more details.

Peter

On Fri, Apr 21, 2017 at 5:07 PM, Ahmed Bougacha via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: ab
> Date: Fri Apr 21 19:07:47 2017
> New Revision: 301065
>
> URL: http://llvm.org/viewvc/llvm-project?rev=301065&view=rev
> Log:
> [cfi] Disable thinlto tests on Darwin.
>
> These were added in r301016, but they're failing, because
> -fsanitize=cfi seemingly causes -flto=thin to emit raw bitcode objects,
> rather than the mach-o-wrapped bitcode we emit with -flto=thin alone.
>
> That causes all tests to fail with ld64 errors.
>
> Filed PR32741.
>
> Modified:
>     compiler-rt/trunk/test/cfi/CMakeLists.txt
>
> Modified: compiler-rt/trunk/test/cfi/CMakeLists.txt
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/
> test/cfi/CMakeLists.txt?rev=301065&r1=301064&r2=301065&view=diff
> ============================================================
> ==================
> --- compiler-rt/trunk/test/cfi/CMakeLists.txt (original)
> +++ compiler-rt/trunk/test/cfi/CMakeLists.txt Fri Apr 21 19:07:47 2017
> @@ -31,7 +31,6 @@ endmacro()
>
>  if (APPLE)
>    add_cfi_test_suites(False False)
> -  add_cfi_test_suites(False True)
>  elseif(WINDOWS)
>    add_cfi_test_suites(True False)
>    add_cfi_test_suites(True True)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>



-- 
-- 
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170421/e9e28670/attachment.html>


More information about the llvm-commits mailing list