[all-commits] [llvm/llvm-project] 0570cc: [HWASan] [NFC] Align comment to implementation

Florian Mayer via All-commits all-commits at lists.llvm.org
Fri Mar 22 16:51:31 PDT 2024


  Branch: refs/heads/users/fmayer/spr/comment
  Home:   https://github.com/llvm/llvm-project
  Commit: 0570ccc9368a1335246293030d1ad7fcc5b2a598
      https://github.com/llvm/llvm-project/commit/0570ccc9368a1335246293030d1ad7fcc5b2a598
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_thread_list.h

  Log Message:
  -----------
  [HWASan] [NFC] Align comment to implementation

We consider `shift` between 1 and 7 (exclusive) for `(1 << shift)`,
which is equivalent to `2 ** shift`, which means N is [1, 7), not [0, 8).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list