[all-commits] [llvm/llvm-project] 40dffe: [compiler-rt][hwasan] Do not call InitLoadedGlobal...

PiJoules via All-commits all-commits at lists.llvm.org
Wed Nov 9 11:47:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40dffefa0e6557063763d814b824d721ce963e66
      https://github.com/llvm/llvm-project/commit/40dffefa0e6557063763d814b824d721ce963e66
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

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

  Log Message:
  -----------
  [compiler-rt][hwasan] Do not call InitLoadedGlobals in __hwasan_init

Fuchsia's libc provides a new hook (__sanitizer_module_loaded) which calls
hwasan_library_loaded in the startup path which will register globals in
loaded modules.

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




More information about the All-commits mailing list