summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/macho-universal.cc
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
commit2ca6536d7a14a47f18e9a9128ea6f70ba0108293 (patch)
tree120121545a1383bd0b6cba5b4d7b2cbfd656181d /llvm/test/DebugInfo/Inputs/macho-universal.cc
parentdcc336bf8e16ae96a9283d69ce29ec90aeee6274 (diff)
downloadbcm5719-llvm-2ca6536d7a14a47f18e9a9128ea6f70ba0108293.tar.gz
bcm5719-llvm-2ca6536d7a14a47f18e9a9128ea6f70ba0108293.zip
llvm-symbolizer: add support for Mach-O universal binaries
llvm-svn: 185137
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/macho-universal.cc')
-rw-r--r--llvm/test/DebugInfo/Inputs/macho-universal.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/macho-universal.cc b/llvm/test/DebugInfo/Inputs/macho-universal.cc
new file mode 100644
index 00000000000..9f34fdb06d1
--- /dev/null
+++ b/llvm/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);
+}
OpenPOWER on IntegriCloud