[PATCH] D22254: [ARM, AArch64] Adds builtins to get current SP and PC
Mandeep Singh Grang via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 12 11:41:59 PDT 2016
mgrang added a comment.
On a similar note, I have a patch which adds the breakpoint intrinsic (for ARM and Thumb):
Could you please let me know if this is something which the community would like to support. I can then push my patch.
Here are two other intrinsics which I wanted to implement:
The use case for these intrinsics is a customer who makes calls to __builtin_arm_breakpoint (and others) in their code base. Currently they compile with ARMCC, but LLVM does not have these intrinsics. So porting the code to build with LLVM becomes a hassle.
To facilitate customers to switch to LLVM we wanted to implement these intrinsics.
More information about the cfe-commits