diff options
author | Dean Michael Berris <dberris@google.com> | 2016-11-17 05:15:37 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-11-17 05:15:37 +0000 |
commit | 3234d3a4bdbe6ee9a419b7a1d8e30422b2f5cc5a (patch) | |
tree | 7131fb51f32e06c3c342145ebd0d8f1918bcec65 /llvm/lib/CodeGen/XRayInstrumentation.cpp | |
parent | 0eb31a1d9680c66b61e7bc2719bc763a09565f26 (diff) | |
download | bcm5719-llvm-3234d3a4bdbe6ee9a419b7a1d8e30422b2f5cc5a.tar.gz bcm5719-llvm-3234d3a4bdbe6ee9a419b7a1d8e30422b2f5cc5a.zip |
[XRay] Support AArch64 in LLVM
This patch adds XRay support in LLVM for AArch64 targets.
This patch is one of a series:
Clang: https://reviews.llvm.org/D26415
compiler-rt: https://reviews.llvm.org/D26413
Author: rSerge
Reviewers: rengolin, dberris
Subscribers: amehsan, aemerson, llvm-commits, iid_iunknown
Differential Revision: https://reviews.llvm.org/D26412
llvm-svn: 287209
Diffstat (limited to 'llvm/lib/CodeGen/XRayInstrumentation.cpp')
-rw-r--r-- | llvm/lib/CodeGen/XRayInstrumentation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/XRayInstrumentation.cpp b/llvm/lib/CodeGen/XRayInstrumentation.cpp index e76bf6948cf..1a7455932a4 100644 --- a/llvm/lib/CodeGen/XRayInstrumentation.cpp +++ b/llvm/lib/CodeGen/XRayInstrumentation.cpp @@ -148,6 +148,7 @@ bool XRayInstrumentation::runOnMachineFunction(MachineFunction &MF) { switch (MF.getTarget().getTargetTriple().getArch()) { case Triple::ArchType::arm: case Triple::ArchType::thumb: + case Triple::ArchType::aarch64: // For the architectures which don't have a single return instruction prependRetWithPatchableExit(MF, TII); break; |