Displaying 1 result from an estimated 1 matches for "stop_compilation".
2009 Mar 30
2
[LLVMdev] llvmc issues on x86_32
...ocation-model=pic
option into invocations of llc:
def llc : Tool<
[(in_language "llvm-bitcode"),
(out_language "assembler"),
(output_suffix "s"),
(cmd_line "llc -relocation-model=pic -f $INFILE -o $OUTFILE"),
(actions (case (switch_on "S"), (stop_compilation)))
]>;
This is nice on 64 bit systems, but generates slow code on 32 bit x86,
and even breaks on 32 bit Windows (using the mingw port); llc spits out
a failed assertion there if invoked with -relocation-model=pic.
I don't see an easy way to disable or override this option when invoking
llv...