[all-commits] [llvm/llvm-project] bf6169: asan: fix a windows test

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Apr 30 13:52:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf61690e92b210c8934918152bed2932cf665105
      https://github.com/llvm/llvm-project/commit/bf61690e92b210c8934918152bed2932cf665105
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Windows/queue_user_work_item_report.cpp

  Log Message:
  -----------
  asan: fix a windows test

Before commit "sanitizer_common: introduce kInvalidTid/kMainTid"
asan invalid/unknown thread id was 0xffffff, so presumably we printed "T16777215".
Now it's -1, so we print T-1. Fix the test.
I think the new format is even better, "T-1" clearly looks like something special
rather than a random large number.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list