MachO: support N_INDR aliases in assembly files.
authorTim Northover <tnorthover@apple.com>
Fri, 30 May 2014 13:22:59 +0000 (13:22 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 30 May 2014 13:22:59 +0000 (13:22 +0000)
commiteaef074d45b25e6d91a44fba7f9756ae1ad1175a
tree81f0f97da5d35661598c62dc25ea486e57398b40
parent6bfdaf5a206010373a9a8df5dbb13127810e6260
MachO: support N_INDR aliases in assembly files.

This makes LLVM create N_INDR aliases (to be resolved by the linker) when
appropriate.

rdar://problem/15125513

llvm-svn: 209894
llvm/include/llvm/MC/MCMachObjectWriter.h
llvm/include/llvm/Object/SymbolicFile.h
llvm/lib/MC/MachObjectWriter.cpp
llvm/lib/Object/MachOObjectFile.cpp
llvm/test/MC/MachO/aliased-symbols.s [new file with mode: 0644]
llvm/test/MC/MachO/variable-exprs.s
llvm/tools/llvm-nm/llvm-nm.cpp