mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +00:00
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
14 lines
370 B
Plaintext
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
|
|
|