[llvm] r186661 - Improve llvm-mc disassembler mode and refactor ARM tests to use it

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jul 23 06:20:38 PDT 2013


> @@ -70,8 +70,13 @@ static bool PrintInsts(const MCDisassemb
>        SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
>                        SourceMgr::DK_Warning,
>                        "invalid instruction encoding");
> +      // Don't try to resynchronise the stream in a block
> +      if (InAtomicBlock)
> +        return true;
> +


This causes llvm-mc to print a warning and exit with 1. Is that really
intentional? (see r186939).

Cheers,
Rafael



More information about the llvm-commits mailing list