xref: /llvm-project/lldb/unittests/Target/Inputs/TestModule.c (revision 01c3243fc1a20b5ddcb464a3183e5fd904d695a4)
1*01c3243fSZachary Turner // Compile with $CC -nostdlib -shared TestModule.c -o TestModule.so
2*01c3243fSZachary Turner // The actual contents of the test module is not important here. I am using this
3*01c3243fSZachary Turner // because it
4*01c3243fSZachary Turner // produces an extremely tiny (but still perfectly valid) module.
5*01c3243fSZachary Turner 
boom(void)6*01c3243fSZachary Turner void boom(void) {
7*01c3243fSZachary Turner   char *BOOM;
8*01c3243fSZachary Turner   *BOOM = 47;
9*01c3243fSZachary Turner }
10