mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 01:20:40 +00:00
![Rafael Espindola](/assets/img/avatar_default.png)
Without this we would have multiple relocations pointing to symbols with the same name: the empty string. There was no way for yaml2obj to be able to handle that. A more general solution would be to unique symbol names in a similar way to how we unique section names. In practice I think this covers all common cases and is a bit more user friendly than using names like sym1, sym2, sym3, etc. llvm-svn: 312603
10 lines
232 B
ArmAsm
10 lines
232 B
ArmAsm
# RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
|
|
# RUN: obj2yaml %t.o | FileCheck %s
|
|
|
|
# CHECK: Relocations:
|
|
# CHECK: Symbol: .text
|
|
# CHECK: Symbols:
|
|
# CHECK: - Name: .text
|
|
|
|
.quad .text
|