Try to fix WebAssembly build after r318352
authorReid Kleckner <rnk@google.com>
Thu, 16 Nov 2017 00:32:19 +0000 (00:32 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 16 Nov 2017 00:32:19 +0000 (00:32 +0000)
llvm-svn: 318355

llvm/lib/Target/WebAssembly/TargetInfo/WebAssemblyTargetInfo.cpp

index f310f0a..a2c03b1 100644 (file)
@@ -30,7 +30,7 @@ Target &llvm::getTheWebAssemblyTarget64() {
 
 extern "C" void LLVMInitializeWebAssemblyTargetInfo() {
   RegisterTarget<Triple::wasm32> X(getTheWebAssemblyTarget32(), "wasm32",
-                                   "WebAssembly 32-bit");
+                                   "WebAssembly 32-bit", "WebAssembly");
   RegisterTarget<Triple::wasm64> Y(getTheWebAssemblyTarget64(), "wasm64",
-                                   "WebAssembly 64-bit");
+                                   "WebAssembly 64-bit", "WebAssembly");
 }