We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--target
h2blb--darwin
1 parent d3e7d36 commit fa1cf54Copy full SHA for fa1cf54
clang/lib/Driver/ToolChains/Darwin.cpp
@@ -69,6 +69,7 @@ llvm::Triple::ArchType darwin::getArchTypeForMachOArchName(StringRef Str) {
69
.Case("nvptx64", llvm::Triple::nvptx64)
70
.Case("amdil", llvm::Triple::amdil)
71
.Case("spir", llvm::Triple::spir)
72
+ .Case("h2blb", llvm::Triple::h2blb)
73
.Default(llvm::Triple::UnknownArch);
74
}
75
clang/test/CodeGen/H2BLB/empty_hello_world.c
@@ -1,5 +1,5 @@
1
// REQUIRES: h2blb-registered-target
2
-// RUN: %clang --target=h2blb %s -o - -S | FileCheck %s
+// RUN: %clang --target=h2blb--darwin %s -o - -S | FileCheck %s
3
4
// Check that we can connect clang from the driver (as opposed to cc1) all
5
// the way to assembly code.
0 commit comments