HomePhabricator

[ELF] Implement scanner for Cortex-A53 Erratum 843419

Description

[ELF] Implement scanner for Cortex-A53 Erratum 843419

Add a new file AArch64ErrataFix.cpp that implements the logic to scan for
the Cortex-A53 Erratum 843419. This involves finding all the executable
code, disassembling the instructions that might trigger the erratum and
reporting a message if the sequence is detected.

At this stage we do not attempt to fix the erratum, this functionality
will be added in a later patch. See D36749 for proposal.

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

Details