зеркало из https://github.com/microsoft/clang-1.git
Fix up MCInstPrinter creation to take the new SubtargetInfo parameter (see LLVM r139237)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
edc08821d3
Коммит
066d502b2d
|
@ -282,7 +282,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) {
|
|||
// FIXME: There is a bit of code duplication with addPassesToEmitFile.
|
||||
if (Opts.OutputType == AssemblerInvocation::FT_Asm) {
|
||||
MCInstPrinter *IP =
|
||||
TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI);
|
||||
TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *STI);
|
||||
MCCodeEmitter *CE = 0;
|
||||
MCAsmBackend *MAB = 0;
|
||||
if (Opts.ShowEncoding) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче