[all-commits] [llvm/llvm-project] 8e7466: [NFC][compiler-rt][hwasan] Re-use ring buffer size...

Leonard Chan via All-commits all-commits at lists.llvm.org
Tue Jun 29 11:57:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e74668e96da5c38c7fabb1881a6510d6a09112d
      https://github.com/llvm/llvm-project/commit/8e74668e96da5c38c7fabb1881a6510d6a09112d
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

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

  Log Message:
  -----------
  [NFC][compiler-rt][hwasan] Re-use ring buffer size calculation

Users can call HwasanThreadList::GetRingBufferSize rather than RingBufferSize
to prevent having to do the calculation in RingBufferSize. This will be useful
for Fuchsia where we plan to initialize the stack ring buffer separately from
the rest of thread initialization.

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




More information about the All-commits mailing list