fix: get CFI tests passing for Windows on Arm
Corrects a problem with the inline assembly formatting on Windows (Clang's assembler behaves differently with line-breaks vs semi-colons on Windows than it does on other systems - was incorrectly squashing nops). It also ensures that the right number of instructions are skipped to avoid an instruction alignment crash when the linker's configured incorrectly. Bug: 1108769 Change-Id: I1f1f1ac7866c72d62068ad1db87f12c08204303c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320570Reviewed-by:Will Harris <wfh@chromium.org> Commit-Queue: Richard Townsend <richard.townsend@arm.com> Cr-Commit-Position: refs/heads/master@{#792378}
Showing
Please register or sign in to comment