[PATCH] D44545: Fix a building error for llvm-mc-assemble-fuzzer
Hui Peng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 15 15:44:34 PDT 2018
benquike created this revision.
Herald added a subscriber: llvm-commits.
Fix a building error for llvm-mc-assemble-fuzzer
Repository:
rL LLVM
https://reviews.llvm.org/D44545
Files:
tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp
Index: tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp
===================================================================
--- tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp
+++ tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp
@@ -228,8 +228,8 @@
}
MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx);
- MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, MCPU,
- MCOptions);
+ MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions);
+
Str.reset(TheTarget->createMCObjectStreamer(
TheTriple, Ctx, std::unique_ptr<MCAsmBackend>(MAB), *OS,
std::unique_ptr<MCCodeEmitter>(CE), *STI, MCOptions.MCRelaxAll,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44545.138638.patch
Type: text/x-patch
Size: 777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180315/681fefac/attachment.bin>
More information about the llvm-commits
mailing list