[all-commits] [llvm/llvm-project] f8f1bb: [compiler-rt][lsan] Add backup AArch64 register fo...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Oct 6 01:46:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8f1bb7462bf2924ac78e9f22356228356fd5219
      https://github.com/llvm/llvm-project/commit/f8f1bb7462bf2924ac78e9f22356228356fd5219
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M compiler-rt/test/lsan/TestCases/use_registers.cpp

  Log Message:
  -----------
  [compiler-rt][lsan] Add backup AArch64 register for use_registers test

On Ubuntu Focal x13 is used by something in the process of calling
sched_yield. Causing the test to fail depending on when the thread
is stopped.

Adding x14 works around this and the test passes consistently.

Not switching to only x14 because that could make other platforms
fail. With both we'll always find at least one and even if both
values are present we'll only get one report.

Reviewed By: oontvoo, vitalybuka

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




More information about the All-commits mailing list