llvm-6502/test/tools/dsymutil/ARM/fat-arch-not-found.test
Frederic Riss fa7f7bd017 [dsymutil] Implement support for universal mach-o object files.
This patch allows llvm-dsymutil to read universal (aka fat) macho object
files and archives. The patch touches nearly everything in the BinaryHolder,
but it is fairly mechinical: the methods that returned MemoryBufferRefs or
ObjectFiles now return a vector of those, and the high-level access function
takes a triple argument to select the architecture.

There is no support yet for handling fat executables and thus no support for
writing fat object files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243096 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-24 06:41:11 +00:00

14 lines
370 B
Plaintext

# REQUIRES: object-emission
# RUN: llvm-dsymutil -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
---
triple: 'armv7-apple-darwin'
objects:
- filename: libfat-test.a(fat-test.o)
symbols:
- { sym: _armv7_var, objAddr: 0x0, binAddr: 0x1000, size: 0x4 }
...
# CHECK: libfat-test.a(fat-test.o): No object file for requested architecture