Skip to content
Commit 5378afc0 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

hwasan: Use llvm.read_register intrinsic to read the PC on aarch64 instead of...

hwasan: Use llvm.read_register intrinsic to read the PC on aarch64 instead of taking the function's address.

This shaves an instruction (and a GOT entry in PIC code) off prologues of
functions with stack variables.

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

llvm-svn: 364608
parent d11ea651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment