[PATCH] Avoid short relocation in x86_64 large code model

Seo Sanghyeon sanxiyn at gmail.com
Tue Nov 11 00:08:42 PST 2014


================
Comment at: test/CodeGen/X86/code-model-eh-frame.ll:1
@@ +1,2 @@
+; RUN: llc < %s -filetype=obj -code-model=small \
+; RUN:  | llvm-objdump -r - \
----------------
rafael wrote:
> You should be able to test this with llvm-mc, no?
Can I? My first try used llvm-mc, but when I asked on IRC, someone (sorry, I don't remember who) answered I must pass -code-model to llc, not llvm-mc.

http://reviews.llvm.org/D6052






More information about the llvm-commits mailing list