summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-03-31 00:10:04 +0000
committerEric Christopher <echristo@gmail.com>2015-03-31 00:10:04 +0000
commitf8019408dc0167c1227e51b3d54427db062c3e63 (patch)
treeb2d834308f5ba3a961fe791afcef46e4fe54baee /llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
parent430563195fda65aa5394836e73501ff1e234658b (diff)
downloadbcm5719-llvm-f8019408dc0167c1227e51b3d54427db062c3e63.tar.gz
bcm5719-llvm-f8019408dc0167c1227e51b3d54427db062c3e63.zip
Replace the MCSubtargetInfo parameter with a Triple when creating
an MCInstPrinter. Update all callers and use where we wanted a Triple previously. llvm-svn: 233648
Diffstat (limited to 'llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp')
-rw-r--r--llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
index c2c3498c9b8..244ed272569 100644
--- a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
+++ b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
@@ -507,7 +507,7 @@ static int linkAndVerify() {
std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo());
std::unique_ptr<MCInstPrinter> InstPrinter(
- TheTarget->createMCInstPrinter(0, *MAI, *MII, *MRI, *STI));
+ TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI));
// Load any dylibs requested on the command line.
loadDylibs();
OpenPOWER on IntegriCloud