r331052 - [MC] Provide default value for IsResolved.
Nirav Dave via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 27 09:11:24 PDT 2018
Author: niravd
Date: Fri Apr 27 09:11:24 2018
New Revision: 331052
URL: http://llvm.org/viewvc/llvm-project?rev=331052&view=rev
Log:
[MC] Provide default value for IsResolved.
Modified:
cfe/trunk/tools/driver/cc1as_main.cpp
Modified: cfe/trunk/tools/driver/cc1as_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=331052&r1=331051&r2=331052&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Fri Apr 27 09:11:24 2018
@@ -435,6 +435,9 @@ static bool ExecuteAssembler(AssemblerIn
Str.get()->InitSections(Opts.NoExecStack);
}
+ // Use Assembler information for parsing.
+ Str->setUseAssemblerInfoForParsing(true);
+
bool Failed = false;
std::unique_ptr<MCAsmParser> Parser(
More information about the cfe-commits
mailing list