[xray] Add llvm-xray extract support for 32 bit ARM
authorIan Levesque <ianlevesque@fb.com>
Tue, 19 May 2020 05:38:14 +0000 (01:38 -0400)
committerIan Levesque <ianlevesque@fb.com>
Thu, 28 May 2020 22:41:11 +0000 (18:41 -0400)
commite62d67f770d279d0ef7e6f1175e0a88aaffd58b0
tree8500622176c3fc967c11cd9eb378a7c4e648457f
parent57f1c43cda8a05920997cd50147ed01a124b4239
[xray] Add llvm-xray extract support for 32 bit ARM

Summary:
XRay works on 32-bit ARM but extract didn't support it.

See also another previous attempt in D77858.

Reviewers: MaskRay, dberris, johnislarry

Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80185
llvm/lib/XRay/InstrumentationMap.cpp
llvm/test/tools/llvm-xray/ARM/extract-instrmap.test [new file with mode: 0644]
llvm/test/tools/llvm-xray/X86/bad-instrmap-sizes.txt
llvm/test/tools/llvm-xray/X86/unsupported-elf32.txt