[PATCH] Stop resetting SanitizeAddress in TargetMachine::resetTargetOptions
Eric Christopher
echristo at gmail.com
Wed May 13 17:24:31 PDT 2015
Ah, this is terrible. I think this needs to be rewritten as an MI level
pass at which point it'll have access to the MachineFunction etc.
Kostya?
-eric
On Wed, May 13, 2015 at 2:52 PM Akira Hatanaka <ahatanak at gmail.com> wrote:
> MCTargetOptions::SanitizeAddress is used in CreateX86AsmInstrumentation,
> which is called by X86AsmParser's constructor. Those functions don't have
> access to Function and therefore cannot look at the function attribute
> (they can be called when llvm-mc is used with -asm-instrumentation=address).
>
>
> http://reviews.llvm.org/D9570
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150514/21771f18/attachment.html>
More information about the llvm-commits
mailing list