[all-commits] [llvm/llvm-project] b06fbd: [compiler-rt][hwasan] Add InitState options to thr...

Leonard Chan via All-commits all-commits at lists.llvm.org
Wed Jun 23 11:42:37 PDT 2021


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

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

  Log Message:
  -----------
  [compiler-rt][hwasan] Add InitState options to thread initialization

Similar to InitOptions in asan, we can use this optional struct for
initializing some members thread objects before they are created. On
linux, this is unused and can remain undefined. On fuchsia, this will
just be the stack bounds.

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




More information about the All-commits mailing list