diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-25 22:30:58 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-25 22:30:58 +0000 |
commit | 93fe4ae091112769601a203bfcc288f52f778fef (patch) | |
tree | 6f3c94e9c819642b5c24f74739d9c71d65c08579 /test/Object/TestObjectFiles | |
parent | aaf98ead114bcd51cd2479badfe28b8d0e4895c2 (diff) |
Object: change test to create archive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/TestObjectFiles')
-rw-r--r-- | test/Object/TestObjectFiles/archive-test.a-bitcode | bin | 790 -> 0 bytes | |||
-rw-r--r-- | test/Object/TestObjectFiles/trivial.ll | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/Object/TestObjectFiles/archive-test.a-bitcode b/test/Object/TestObjectFiles/archive-test.a-bitcode Binary files differdeleted file mode 100644 index 3aeb34fa33..0000000000 --- a/test/Object/TestObjectFiles/archive-test.a-bitcode +++ /dev/null diff --git a/test/Object/TestObjectFiles/trivial.ll b/test/Object/TestObjectFiles/trivial.ll new file mode 100644 index 0000000000..25ece7611a --- /dev/null +++ b/test/Object/TestObjectFiles/trivial.ll @@ -0,0 +1,12 @@ +@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 + +define i32 @main() nounwind { +entry: + %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind + tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind + ret i32 0 +} + +declare i32 @puts(i8* nocapture) nounwind + +declare void @SomeOtherFunction(...) |