[PATCH] MachineFunction is exposed to X86AsmParser.
Evgeniy Stepanov
eugenis at google.com
Wed Apr 16 04:51:55 PDT 2014
So, this change now does 2 things:
- adds SanitizeAddress flag to TargetOptions (wrapped in MCTargetOptions)
- passes current MachineFunction to X86AsmInstrumentation
This effectively lets us take into account sanitize_address function attribute when instrumenting inline asm.
This also lets us apply blacklist when instrumenting .s files by runnning SpecialCaseList in cc1as and setting the bit in TargetOptions. That would be done in a future patch.
This patch looks OK to me.
Does anyone have any objections to the TargetOptions/MCTargetAsmParser changes?
http://reviews.llvm.org/D3106
More information about the llvm-commits
mailing list