tree: e6fdaa5520728745475d6d8d02d2da70068025c2 [path history] [tgz]
  1. amd64/
  2. arm/
  3. arm64/
  4. x86/
  5. make.defaults
  6. parent

Chrome OS thread sanitizer build profile

This directory contains the changes needed to build a board's packages with thread sanitizer.

Building a board with thread sanitizer

To build packages with thread sanitizer (tsan) for a board, create a profile in the overlays and point its parent to the appropriate architecture here. For example, to add an tsan profile for eve:

$ mkdir -p overlays/overlay-eve/profiles/tsan
$ printf "../base\nchromiumos:features/sanitizers/tsan/amd64\n" > \

A private profile may be needed as well.

$ mkdir -p private-overlays/overlay-eve-private/profiles/tsan
$ printf "../base\neve:tsan\n" > \

To build the eve board with tsan profile, do:

$ setup_board --board=eve --profile=tsan
$ build_packages --board=eve