diff options
author | Leonard Chan <leonardchan@google.com> | 2021-06-23 16:12:52 -0700 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2021-06-29 11:57:33 -0700 |
commit | 8e74668e96da5c38c7fabb1881a6510d6a09112d (patch) | |
tree | 088554f33f5db80204afbecd335456faf3013ef0 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | d4dcb55c7050fd908af2378fa551078d859d994f (diff) | |
download | llvm-8e74668e96da5c38c7fabb1881a6510d6a09112d.zip llvm-8e74668e96da5c38c7fabb1881a6510d6a09112d.tar.gz llvm-8e74668e96da5c38c7fabb1881a6510d6a09112d.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions