summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-03-13 21:51:11 +0000
committerZachary Turner <zturner@google.com>2015-03-13 21:51:11 +0000
commit794e6a60a8ceab3781a8b99952f24592a4a9c007 (patch)
tree13d85109156d549059d098d2070e67ec27f3a06e /lldb/test/lang
parenta1410321f6ddfe0ce47eccfbadf2e1955588ed32 (diff)
downloadbcm5719-llvm-794e6a60a8ceab3781a8b99952f24592a4a9c007.tar.gz
bcm5719-llvm-794e6a60a8ceab3781a8b99952f24592a4a9c007.zip
Fix makefiles to build shared library tests on Windows.
Abstracted away some POSIX-isms that caused MAKE to issue invalid commands on Windows. Added a new force-include for the test programs so that we can use platform-specific macros. TestSharedLib now builds and cleans up on Windows, though the test still fails some of the expectations. Differential Revision: http://reviews.llvm.org/D8277 Patch by: Adrian McCarthy Issue Tracker: http://llvm.org/pr21727 llvm-svn: 232220
Diffstat (limited to 'lldb/test/lang')
-rw-r--r--lldb/test/lang/c/shared_lib/foo.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/test/lang/c/shared_lib/foo.h b/lldb/test/lang/c/shared_lib/foo.h
index 78b3c124538..78b9e3f9c0d 100644
--- a/lldb/test/lang/c/shared_lib/foo.h
+++ b/lldb/test/lang/c/shared_lib/foo.h
@@ -6,7 +6,5 @@ struct sub_foo
char *sub_2;
};
-struct foo *GetMeAFoo();
-struct sub_foo *GetMeASubFoo (struct foo *in_foo);
-
-
+LLDB_TEST_API struct foo *GetMeAFoo();
+LLDB_TEST_API struct sub_foo *GetMeASubFoo(struct foo *in_foo);
OpenPOWER on IntegriCloud