From f514aa4426f00af61f6b5647ab05969a4b28ad36 Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Mon, 31 Jul 2017 18:31:04 +0000 Subject: [PATCH] [llc][NFC] Update message in assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309600 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llc/llc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 83f5c2709c7..648f74be4ba 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -542,7 +542,7 @@ static int compileModule(char **argv, LLVMContext &Context) { } if (MIR) { - assert(MMI && "addPassesToEmitFile didn't set MMI"); + assert(MMI && "Forgot to create MMI?"); if (MIR->parseMachineFunctions(*M, *MMI)) return 1; } -- 2.40.0