[PATCH] Add a SymbolicFile interface between Binary and ObjectFile. Add IRObjectFile as an implementation of it.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Wed Feb 12 15:31:22 PST 2014


Hi Bigcheese,

This is still not using the Mangler. The issue holding it is transforming DataLayout into a non-pass object so that Module can own one.

Fortunately, once that is done changing this code to use the Mangler in IRObjectFile should be fairly trivial.


http://llvm-reviews.chandlerc.com/D2757

Files:
  include/llvm/Object/Archive.h
  include/llvm/Object/Binary.h
  include/llvm/Object/COFF.h
  include/llvm/Object/ELFObjectFile.h
  include/llvm/Object/IRObjectFile.h
  include/llvm/Object/MachO.h
  include/llvm/Object/ObjectFile.h
  include/llvm/Object/SymbolicFile.h
  lib/Object/Archive.cpp
  lib/Object/Binary.cpp
  lib/Object/CMakeLists.txt
  lib/Object/COFFObjectFile.cpp
  lib/Object/IRObjectFile.cpp
  lib/Object/LLVMBuild.txt
  lib/Object/MachOObjectFile.cpp
  lib/Object/ObjectFile.cpp
  lib/Object/SymbolicFile.cpp
  test/Object/nm-ir.ll
  tools/llvm-ar/llvm-ar.cpp
  tools/llvm-nm/CMakeLists.txt
  tools/llvm-nm/llvm-nm.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2757.1.patch
Type: text/x-patch
Size: 52076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140212/d8c8fe9b/attachment.bin>


More information about the llvm-commits mailing list