[PATCH] [FaultMaps] Add a parser for the __llvm__faultmaps section.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jun 18 16:59:06 PDT 2015


> ----------------
> rafael wrote:
>> Do you really need to use llc? Can't you use llvm-mc or even check in a binary?
> Unless you have strong objections, I'd like to keep this test because I think it is valuable to check that the parser can parse the output of `-enable-implicit-null-checks`.  I'll add a second test that works with `llvm-mc`.

In which case you should do

llc ... -o %t.s < %s
llvm-mc ... -o %t.o  < %t.s

We really should only use "llc -filetype=obj" when there a code path
that is only ever used with that.

> Right now the faultmaps section is generated only for x86_64.

Why the template then?

Cheers,
Rafael



More information about the llvm-commits mailing list