[XRay][Arm] Repair XRay table emission on Arm32 and add tests to identify such proble...
authorSerge Rogatch <srogatch@accesssoftek.com>
Thu, 19 Jan 2017 20:24:23 +0000 (20:24 +0000)
committerSerge Rogatch <srogatch@accesssoftek.com>
Thu, 19 Jan 2017 20:24:23 +0000 (20:24 +0000)
commitf83d2a25bfe611b46fe9bdaa4e6cbac505e52eed
tree9a0cf76ecf30d1808121ac1eee409bf931a04c21
parent9245e12f95b6eee638d6ced013b91c5ee364e940
[XRay][Arm] Repair XRay table emission on Arm32 and add tests to identify such problem earlier

Summary:
Emission of XRay table was occasionally disabled for Arm32, but this bug was not then detected because earlier (also by mistake) testing of XRay was occasionally disabled on 32-bit Arm targets. This patch should fix that problem and detect such problems in the future.
This patch is one of a series, see also
- https://reviews.llvm.org/D28623

Reviewers: rengolin, dberris

Reviewed By: dberris

Subscribers: llvm-commits, aemerson, rengolin, dberris, iid_iunknown

Differential Revision: https://reviews.llvm.org/D28624

llvm-svn: 292516
llvm/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/test/CodeGen/ARM/xray-armv6-attribute-instrumentation.ll
llvm/test/CodeGen/ARM/xray-armv7-attribute-instrumentation.ll