[PATCH] D67340: [Object] Implement relocation resolver for COFF ARM/ARM64

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 00:39:47 PDT 2019


mstorsjo created this revision.
mstorsjo added reviewers: rnk, MaskRay, JDevlieghere, ruiu.
Herald added subscribers: kristof.beyls, aprantl.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.

This is primarily used for reading debug info from unrelocated object files, for handling addr and secrel relocations.

Also add testcases for the existing code for COFF on X86.

@JDevlieghere - I'm adding tests for this under tools/llvm-dwarfdump. Currently there's two subdirs, X86 and AArch64 there, while I'm adding four testcases (coff-i386, coff-x86_64, coff-arm and coff-arm64). Are you ok with them placed in the toplevel dir, or do you want a different structure for them?


Repository:
  rL LLVM

https://reviews.llvm.org/D67340

Files:
  lib/Object/RelocationResolver.cpp
  test/tools/llvm-dwarfdump/coff-arm.yaml
  test/tools/llvm-dwarfdump/coff-arm64.yaml
  test/tools/llvm-dwarfdump/coff-i386.yaml
  test/tools/llvm-dwarfdump/coff-x86_64.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67340.219290.patch
Type: text/x-patch
Size: 24051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190909/9a5d94ba/attachment.bin>


More information about the llvm-commits mailing list