[all-commits] [llvm/llvm-project] 606557: [PGO] use atomics for profile counters in instrpro...

Wael Yehia via All-commits all-commits at lists.llvm.org
Mon Sep 23 07:58:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 606557ddd68bcb082fb82fd21b0afb260222ae14
      https://github.com/llvm/llvm-project/commit/606557ddd68bcb082fb82fd21b0afb260222ae14
  Author: Wael Yehia <wyehia at ca.ibm.com>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M compiler-rt/test/profile/Posix/instrprof-dlopen-norpath.test

  Log Message:
  -----------
  [PGO] use atomics for profile counters in instrprof-dlopen-norpath.test

When two threads dlopen a shared library, one instance of the library
is loaded. Hence, code inside the library needs to be thread safe,
so use atomic updates for profile counters.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list