[all-commits] [llvm/llvm-project] db36d8: scudo: Allow TBI to be disabled on Linux with a ma...

pcc via All-commits all-commits at lists.llvm.org
Tue Mar 16 12:56:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db36d882ed185534e125746f86373d434acdf2e6
      https://github.com/llvm/llvm-project/commit/db36d882ed185534e125746f86373d434acdf2e6
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/memtag.h

  Log Message:
  -----------
  scudo: Allow TBI to be disabled on Linux with a macro.

Android's native bridge (i.e. AArch64 emulator) doesn't support TBI so
we need a way to disable TBI on Linux when targeting the native bridge.

This can also be used to test the no-TBI code path on Linux (currently
only used on Fuchsia), or make Scudo compatible with very old
(pre-commit d50240a5f6ceaf690a77b0fccb17be51cfa151c2 from June 2013)
Linux kernels that do not enable TBI.

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




More information about the All-commits mailing list