summaryrefslogtreecommitdiff
path: root/test/DebugInfo/Inputs
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-06-28 08:15:40 +0000
committerAlexey Samsonov <samsonov@google.com>2013-06-28 08:15:40 +0000
commit8175bc3d3bc8567a90b9dd50d68c1423baffd63b (patch)
treed520197471dc8c5b49816e39bdf55f5c4817494a /test/DebugInfo/Inputs
parent363720e06c4a61a6695e2b2b8f1dfdd597e52b95 (diff)
downloadllvm-8175bc3d3bc8567a90b9dd50d68c1423baffd63b.tar.gz
llvm-8175bc3d3bc8567a90b9dd50d68c1423baffd63b.tar.bz2
llvm-8175bc3d3bc8567a90b9dd50d68c1423baffd63b.tar.xz
llvm-symbolizer: add support for Mach-O universal binaries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/Inputs')
-rwxr-xr-xtest/DebugInfo/Inputs/macho-universalbin0 -> 16660 bytes
-rw-r--r--test/DebugInfo/Inputs/macho-universal.cc10
2 files changed, 10 insertions, 0 deletions
diff --git a/test/DebugInfo/Inputs/macho-universal b/test/DebugInfo/Inputs/macho-universal
new file mode 100755
index 0000000000..a161441802
--- /dev/null
+++ b/test/DebugInfo/Inputs/macho-universal
Binary files differ
diff --git a/test/DebugInfo/Inputs/macho-universal.cc b/test/DebugInfo/Inputs/macho-universal.cc
new file mode 100644
index 0000000000..9f34fdb06d
--- /dev/null
+++ b/test/DebugInfo/Inputs/macho-universal.cc
@@ -0,0 +1,10 @@
+// Built with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
+// clang++ -arch x86_64 -arch i386 macho-universal.cc
+
+int inc(int x) {
+ return x + 1;
+}
+
+int main(int argc, char *argv[]) {
+ return inc(argc);
+}