[PATCH] MachO: support N_INDR aliases in the assembler

Tim Northover t.p.northover at gmail.com
Fri May 23 05:48:32 PDT 2014


Hi kledzik,

Hi,

This patch should allow LLVM to emit N_INDR symbols (essentially telling the linker that some symbol should be resolved to another named one when it becomes available).

I'm not all that good at the actual MachO object format though, so I may have made some mistakes. Does it look OK?

Cheers.

Tim.

http://reviews.llvm.org/D3892

Files:
  include/llvm/MC/MCMachObjectWriter.h
  include/llvm/Object/SymbolicFile.h
  lib/MC/MachObjectWriter.cpp
  lib/Object/MachOObjectFile.cpp
  test/MC/MachO/aliased-symbols.s
  test/MC/MachO/variable-exprs.s
  tools/llvm-nm/llvm-nm.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3892.9751.patch
Type: text/x-patch
Size: 9919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140523/a9043180/attachment.bin>


More information about the llvm-commits mailing list