https://bugs.llvm.org/show_bug.cgi?id=32770

            Bug ID: 32770
           Summary: CFI tests using ThinLTO on Windows all fail with
                    unsupported X86 relocation
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Linker
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

This was found after Evgeniy's refactoring of the CFI tests in r301016.

The failing tests:
Failing Tests (4):
    cfi-devirt-lld-thinlto :: simple-pass.cpp
    cfi-devirt-thinlto :: simple-pass.cpp
    cfi-standalone-lld-thinlto :: simple-pass.cpp
    cfi-standalone-thinlto :: simple-pass.cpp

Example build:
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/10028/

LLD crashes when attempting to emit a COFF object after ThinLTO optimization:

$ "C:/b/slave/sanitizer-windows/build/./bin/clang.exe" "-fuse-ld=lld"
"-Wl,-nopdb" "-flto=thin" "-fsanitize=cfi" "-fvisibility=hidden" "-o"
"C:\b\slave\sanitizer-windows\build\projects\compiler-rt\test\cfi\Standalone-thinlto\Output\simple-pass.cpp.tmp"
"C:\b\slave\sanitizer-windows\llvm\projects\compiler-rt\test\cfi\simple-pass.cpp"
# command stderr:
unsupported relocation type

UNREACHABLE executed at
C:\b\slave\sanitizer-windows\llvm\lib\Target\X86\MCTargetDesc\X86WinCOFFObjectWriter.cpp:92!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to