From f3903f2583a0103f9fb4d280fa270a0fc8e85a02 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 17 Apr 2019 22:39:56 +0530 Subject: [PATCH] [llas] Handle -no_compact_unwind,. --- llvm/tools/llas/llas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llas/llas.cpp b/llvm/tools/llas/llas.cpp index 034fcd4d5c9..6209166e981 100644 --- a/llvm/tools/llas/llas.cpp +++ b/llvm/tools/llas/llas.cpp @@ -493,7 +493,7 @@ LLVM_DEBUG(dbgs() << TheTarget->getName() << " triple named " \ MCObjectFileInfo MOFI; MCContext Ctx(MAI.get(), MRI.get(), &MOFI, &SrcMgr); bool PIC = RelocMode == RS_Static ? false : true; - MOFI.InitMCObjectFileInfo(TheTriple, PIC, Ctx, LargeCodeModel); + MOFI.InitMCObjectFileInfo(TheTriple, PIC, Ctx, LargeCodeModel, !NoCompactUnwind); if (SaveTempLabels) Ctx.setAllowTemporaryLabels(false);