[llvm-commits] [PATCH] [lld] Changes for adding hexagon target and add noinhibit-exec option
Shankar Kalpathi Easwaran
shankarke at gmail.com
Thu Jan 10 22:25:14 PST 2013
Yes, how else will you process the flag than adding it in LinkerOptions. This is a supported flag in ld across all platforms.
--noinhibit-exec
Retain the executable output file whenever it is still usable. Normally, the linker will not produce an output file if it encounters errors during the link process; it exits without writing an output file when it
issues any error whatsoever.
================
Comment at: test/Driver/hexagon-target.test:1-2
@@ +1,3 @@
+# Will fail with unresolved symbol
+RUN: lld -flavor ld -target hexagon || exit 0
+# Will say unresolved symbols but not fail
----------------
Sean Silva wrote:
> This command will never fail. (try running `(/bin/false || exit 0)` and `(/bin/true || exit 0)`). How is it supposed to test anything?
This is just testing the driver, Its the same wierd test thats there in the driver for x86.
http://llvm-reviews.chandlerc.com/D282
More information about the llvm-commits
mailing list