This is the last major patch to implement support for the .loc directive
[oota-llvm.git] / lib / MC / MCParser / AsmParser.cpp
index cb12af1ef90f4f6dfa724ae5c67d6a72af408ad0..fbac34a15ea4e5f4ee98eeb3402069d54f78961f 100644 (file)
@@ -2056,7 +2056,7 @@ bool GenericAsmParser::ParseDirectiveLoc(StringRef, SMLoc DirectiveLoc) {
     Lex();
   }
 
-  unsigned Flags = 0;
+  unsigned Flags = DWARF2_LINE_DEFAULT_IS_STMT ? DWARF2_FLAG_IS_STMT : 0;
   unsigned Isa = 0;
   if (getLexer().isNot(AsmToken::EndOfStatement)) {
     for (;;) {