new option to pass to llc since llvm 3.0

This commit is contained in:
Laurent Sansonetti
2011-11-04 00:42:07 +01:00
parent 53d6199771
commit bbb211ba00

View File

@@ -65,7 +65,7 @@ module Motion
when /^arm/; 'arm'
else; arch
end
sh "#{llc} \"#{bc}\" -o=\"#{asm}\" -march=#{llc_arch} -relocation-model=pic -disable-fp-elim -jit-enable-eh"
sh "#{llc} \"#{bc}\" -o=\"#{asm}\" -march=#{llc_arch} -relocation-model=pic -disable-fp-elim -jit-enable-eh -disable-cfi"
# Object.
arch_obj = File.join(objs_build_dir, "#{path}.#{arch}.o")