[LLVMdev] llvm-mc fixups

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Sep 21 08:34:23 PDT 2012


>   1) How do we unit-test the integrated assembler when there are fixups?

The tests we have right now produce an object and dump it (using
elf-dump for example).

> I understand why clang's "-S" option would never want to output this syntax
> (GCC doesn't grok all UAL syntax).  But for LLVM's internal assembler,
> should we be trying to remove some fixups with a text-to-text pass before
> encoding?  I see llvm-mc has a '-mc-relax-all' option, but doesn't seem to
> do anything for me - unrelated?

It still kicks in only during direct object emission. Its objective is
just to speed up object emission by producing fewer fragments.

> Thanks,
> Greg

Cheers,
Rafael



More information about the llvm-dev mailing list