summaryrefslogtreecommitdiff
path: root/test/Driver/undef-basic.objtxt
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/undef-basic.objtxt')
-rw-r--r--test/Driver/undef-basic.objtxt22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/Driver/undef-basic.objtxt b/test/Driver/undef-basic.objtxt
new file mode 100644
index 0000000000000..f942d5c8e9040
--- /dev/null
+++ b/test/Driver/undef-basic.objtxt
@@ -0,0 +1,22 @@
+# RUN: lld -flavor gnu -u undefinedsymbol -e entrysymbol %s \
+# RUN: --output-filetype=yaml --noinhibit-exec | FileCheck %s
+
+#
+# Test that we are able to add undefined atoms from the command line
+#
+
+---
+absolute-atoms:
+ - name: putchar
+ value: 0xFFFF0040
+
+ - name: reset
+ value: 0xFFFF0080
+
+...
+
+
+# CHECK: undefined-atoms:
+# CHECK: - name: entrysymbol
+# CHECK: - name: undefinedsymbol
+# CHECK: can-be-null: at-buildtime