[PATCH] Stop resetting SanitizeAddress in TargetMachine::resetTargetOptions

Akira Hatanaka ahatanak at gmail.com
Wed May 13 14:52:04 PDT 2015


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/






More information about the llvm-commits mailing list