[PATCH] D80185: [xray] Add llvm-xray extract support for 32 bit ARM

Ian Levesque via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 23:17:50 PDT 2020


ianlevesque created this revision.
ianlevesque added reviewers: MaskRay, dberris, johnislarry.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

XRay works on 32-bit ARM but extract didn't support it. This also includes a small
addition to ELF support to work with REL/RELA interchangably for the RelocationResolver.

See also another previous attempt in D77858 <https://reviews.llvm.org/D77858>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80185

Files:
  llvm/include/llvm/Object/ELFObjectFile.h
  llvm/lib/XRay/InstrumentationMap.cpp
  llvm/test/tools/llvm-xray/ARM/Inputs/elf32-pic.yaml
  llvm/test/tools/llvm-xray/ARM/extract-instrmap.test
  llvm/test/tools/llvm-xray/X86/bad-instrmap-sizes.txt
  llvm/test/tools/llvm-xray/X86/unsupported-elf32.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80185.264798.patch
Type: text/x-patch
Size: 19976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200519/5a44d86d/attachment.bin>


More information about the llvm-commits mailing list