diff options
| author | Zachary Turner <zturner@google.com> | 2017-02-14 19:06:07 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-02-14 19:06:07 +0000 |
| commit | 01c3243fc1a20b5ddcb464a3183e5fd904d695a4 (patch) | |
| tree | 7e6814381873b72f5f31e2e338a1ed6b1766b1ae /lldb/unittests/Target/Inputs/TestModule.c | |
| parent | 0ce53e4b9f9d5ab61acbb05edce4bf56d39ee9ec (diff) | |
| download | bcm5719-llvm-01c3243fc1a20b5ddcb464a3183e5fd904d695a4.tar.gz bcm5719-llvm-01c3243fc1a20b5ddcb464a3183e5fd904d695a4.zip | |
Remove dependencies from Utility to Core and Target.
With this patch, the only dependency left is from Utility
to Host. After this is broken, Utility will finally be
standalone.
Differential Revision: https://reviews.llvm.org/D29909
llvm-svn: 295088
Diffstat (limited to 'lldb/unittests/Target/Inputs/TestModule.c')
| -rw-r--r-- | lldb/unittests/Target/Inputs/TestModule.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/unittests/Target/Inputs/TestModule.c b/lldb/unittests/Target/Inputs/TestModule.c new file mode 100644 index 00000000000..6347f726494 --- /dev/null +++ b/lldb/unittests/Target/Inputs/TestModule.c @@ -0,0 +1,9 @@ +// Compile with $CC -nostdlib -shared TestModule.c -o TestModule.so +// The actual contents of the test module is not important here. I am using this +// because it +// produces an extremely tiny (but still perfectly valid) module. + +void boom(void) { + char *BOOM; + *BOOM = 47; +} |

