aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:22 +0000
commit5a5de6ea3962782b02221b96b27dd064b25d381f (patch)
tree6138b29ea914e803d8430f444a764b7d29f8df12 /packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One
parentb76161e41bc2c07cd47f9c61f875d1be95e26d10 (diff)
downloadsrc-5a5de6ea3962782b02221b96b27dd064b25d381f.tar.gz
src-5a5de6ea3962782b02221b96b27dd064b25d381f.zip
Vendor import of lldb trunk r303291:vendor/lldb/lldb-trunk-r303291
Notes
Notes: svn path=/vendor/lldb/dist/; revision=318424 svn path=/vendor/lldb/lldb-trunk-r303291/; revision=318425; tag=vendor/lldb/lldb-trunk-r303291
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One')
-rw-r--r--packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.c6
-rw-r--r--packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h4
-rw-r--r--packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/OneConstant.c1
3 files changed, 11 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.c b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.c
new file mode 100644
index 000000000000..6bd729f65700
--- /dev/null
+++ b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.c
@@ -0,0 +1,6 @@
+#include "One.h"
+#include <stdio.h>
+
+void one() {
+ printf("One\n"); // break here
+}
diff --git a/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h
new file mode 100644
index 000000000000..b59f5ad13f22
--- /dev/null
+++ b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h
@@ -0,0 +1,4 @@
+#ifndef ONE_H
+#define ONE_H
+void one();
+#endif
diff --git a/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/OneConstant.c b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/OneConstant.c
new file mode 100644
index 000000000000..8255c2fce995
--- /dev/null
+++ b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/OneConstant.c
@@ -0,0 +1 @@
+int __attribute__ ((visibility("hidden"))) conflicting_symbol = 11111;