1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/tools/llvm-jitlink
Stefan Gränitz 4479241a3b Revert "hack to unbreak check-llvm on win after D97335" in attempt for actual fix
This reverts commit 900f076113302e26e1939541b546b0075e3e9721 and attempts an actual fix: All failing tests for llvm-jitlink use the `-noexec` flag. The inputs they operate on are not meant for execution on the host system. Looking e.g. at the MachO_test_harness_harnesss.s test, llvm-mc generates input machine code with "x86_64-apple-macosx10.9".

My previous attempt in bbdb4c8c9bcef0e8db751630accc04ad874f54e7 disabled the debug support plugin for Windows targets, but what we would actually want is to disable it on Windows HOSTS.

With the new patch here, I don't do exactly that, but instead follow the approach for the EH frame plugin and include the `-noexec` flag in the condition. It should have the desired effect when it comes to the test suite. It appears a little workaround'ish, but should work reliably for now. I will discuss the issue with Lang and see if we can do better. Thanks @thakis again for the temporary fix.
2021-03-03 22:35:36 +01:00
..
llvm-jitlink-executor [Orc] Add JITLink debug support plugin for ELF x86-64 2021-03-02 15:07:35 +01:00
CMakeLists.txt Revert "hack to unbreak check-llvm on win after D97335" in attempt for actual fix 2021-03-03 22:35:36 +01:00
llvm-jitlink-elf.cpp
llvm-jitlink-macho.cpp
llvm-jitlink.cpp Revert "hack to unbreak check-llvm on win after D97335" in attempt for actual fix 2021-03-03 22:35:36 +01:00
llvm-jitlink.h [llvm-jitlink] Remove duplicate type defintion (NFC) 2021-03-02 15:07:33 +01:00