[PowerPC, Mach-O] PPCMachObjectWriter.cpp, at long last

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Aug 2 08:47:08 PDT 2013


> Also regarding the FileCheck expected output, I would like to use the more
> terse output from otool -ItrvV on the object file, but otool is not
> available outside of darwin, so I'm stuck using llvm's macho-dump.

Can you use llvm-objdump? While macho-dupm is not officially
deprecated, I think it is probably best to try to use llvm-objdump.

> My next revision of this patch will include only the llvm-mc test.
> Would the llc -filetype=asm test be suitable in a separate test-only patch?

Probably, and before the object writer patch even.  Just make sure the
test case is specific to a feature. Don't just FileCheck the entire
output.

(I will review your new patch in a sec).

Cheers,
Rafael



More information about the llvm-commits mailing list