[PATCH] D16538: [cc1as] Add MCTargetOptions argument to createAsmBackend
Evgeniy Stepanov via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 11 11:31:42 PST 2016
eugenis added inline comments.
================
Comment at: tools/driver/cc1as_main.cpp:413-416
@@ -412,6 +414,6 @@
// FIXME: init MCTargetOptions from sanitizer flags here.
MCTargetOptions Options;
std::unique_ptr<MCTargetAsmParser> TAP(
TheTarget->createMCAsmParser(*STI, *Parser, *MCII, Options));
if (!TAP)
----------------
dsanders wrote:
> @eugenis: Do you know what needs to be done for this FIXME?
I think this is about allowing -fsanitize=address as a cc1as flag to enable asan instrumentation in standalone assembly files. Currently it is only supported in inline assembly.
http://reviews.llvm.org/D16538
More information about the cfe-commits
mailing list