[PATCH] D6052: Avoid short relocation in x86_64 large code model

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 10:01:52 PDT 2017


RKSimon added reviewers: rafael, RKSimon.
RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/code-model-eh-frame.ll:1
+; RUN: llc < %s -filetype=obj -code-model=small \
+; RUN:  | llvm-objdump -r - \
----------------
sanxiyn wrote:
> 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.
@rafael's comment still remains - why isn't this an MC test?


https://reviews.llvm.org/D6052





More information about the llvm-commits mailing list