summaryrefslogtreecommitdiffstats
path: root/openmp/offload/src/offload_target_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/offload/src/offload_target_main.cpp')
-rw-r--r--openmp/offload/src/offload_target_main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/openmp/offload/src/offload_target_main.cpp b/openmp/offload/src/offload_target_main.cpp
new file mode 100644
index 00000000000..a4921d2752c
--- /dev/null
+++ b/openmp/offload/src/offload_target_main.cpp
@@ -0,0 +1,17 @@
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
+
+extern "C" void __offload_target_main(void);
+
+int main(int argc, char ** argv)
+{
+ __offload_target_main();
+ return 0;
+}
OpenPOWER on IntegriCloud