[PATCH] Make it easier to use DwarfContext with MCJIT and add RelocVisitor support for Darwin

Keno Fischer kfischer at college.harvard.edu
Fri Jan 16 08:35:39 PST 2015


Addresses @rafael's review comments. Added implementations of getRelocationSection for ELF and COFF, which aren't strictly necessary, since it's equivalent on ELF/COFF to get the symbols' section, which is what we do anyway. Nevertheless, better to have the API complete in case somebody wants to use it for a different use case.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6961

Files:
  include/llvm/DebugInfo/DIContext.h
  include/llvm/DebugInfo/DWARFContext.h
  include/llvm/DebugInfo/DWARFDebugLine.h
  include/llvm/ExecutionEngine/RuntimeDyld.h
  include/llvm/Object/COFF.h
  include/llvm/Object/ELFObjectFile.h
  include/llvm/Object/MachO.h
  include/llvm/Object/ObjectFile.h
  include/llvm/Object/RelocVisitor.h
  lib/DebugInfo/DIContext.cpp
  lib/DebugInfo/DWARFContext.cpp
  lib/DebugInfo/DWARFDebugLine.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  lib/Object/COFFObjectFile.cpp
  lib/Object/MachOObjectFile.cpp
  lib/Object/ObjectFile.cpp
  test/DebugInfo/Inputs/test-multiple-macho.o
  test/DebugInfo/Inputs/test-simple-macho.o
  test/DebugInfo/debuglineinfo-macho.test
  test/DebugInfo/debuglineinfo.test
  tools/llvm-objdump/MachODump.cpp
  tools/llvm-rtdyld/llvm-rtdyld.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6961.18303.patch
Type: text/x-patch
Size: 27580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/899b8c9c/attachment.bin>


More information about the llvm-commits mailing list