• Maggie Cai's avatar
    Revert "feat: detect support for MTE and BTI" · b42b6094
    Maggie Cai authored
    This reverts commit e29c70f6.
    
    Reason for revert: This CL is likely the cause of a tree closure for failing to compile in build ios-device (https://ci.chromium.org/p/chromium/builders/ci/ios-device/173021)
    
    Original change's description:
    > feat: detect support for MTE and BTI
    >
    > MTE and BTI are Armv8.5-A features which help memory safety and
    > control-flow integrity. This CL adds support for detecting them
    > using the AT_HWCAP2 Linux API.
    >
    > MTE contains new instructions which will crash older cores. base::CPU
    > can now be used to tell whether these instructions are safe to
    > execute and adds a test to verify this. This does not test whether
    > MTE is configured correctly to give any security properties, a
    > subsequent CL will add tests for this.
    >
    > Bug: 1145581, 1137393
    > Change-Id: I9abd66af1c1bdbf49eebd17f225a59b0a6cdfd33
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526738
    > Commit-Queue: Richard Townsend <richard.townsend@arm.com>
    > Reviewed-by: Daniel Cheng <dcheng@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#831180}
    
    TBR=dcheng@chromium.org,haraken@chromium.org,richard.townsend@arm.com
    
    Change-Id: Iccd79d592321a0d6ca387a3564016999fd660234
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1145581
    Bug: 1137393
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560078Reviewed-by: default avatarMaggie Cai <mxcai@chromium.org>
    Commit-Queue: Maggie Cai <mxcai@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#831187}
    b42b6094
cpu_unittest.cc 4.65 KB