]> granicus.if.org Git - clang/commitdiff
[MC] Provide default value for IsResolved.
authorNirav Dave <niravd@google.com>
Fri, 27 Apr 2018 16:11:24 +0000 (16:11 +0000)
committerNirav Dave <niravd@google.com>
Fri, 27 Apr 2018 16:11:24 +0000 (16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331052 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/cc1as_main.cpp

index 1c6cc36e6800aed714e890703193f451294d2bc5..372aea07af426e075a13f407412f131f06d7ff48 100644 (file)
@@ -435,6 +435,9 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts,
     Str.get()->InitSections(Opts.NoExecStack);
   }
 
+  // Use Assembler information for parsing.
+  Str->setUseAssemblerInfoForParsing(true);
+
   bool Failed = false;
 
   std::unique_ptr<MCAsmParser> Parser(