[all-commits] [llvm/llvm-project] f7999e: [NFC][compiler-rt][hwasan] Move hwasanThreadList()...

Leonard Chan via All-commits all-commits at lists.llvm.org
Fri Jun 18 13:41:50 PDT 2021


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

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

  Log Message:
  -----------
  [NFC][compiler-rt][hwasan] Move hwasanThreadList().CreateCurrentThread() into InitThreads

Once D104553 lands, CreateCurrentThread will be able to accept optional
parameters for initializing the hwasan thread object. On fuchsia, we can get
stack info in the platform-specific InitThreads and pass it through
CreateCurrentThread. On linux, this is a no-op.

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




More information about the All-commits mailing list