[all-commits] [llvm/llvm-project] 557690: [llvm-profgen] Fix OpenCSD test and build issues (...

gulfemsavrun via All-commits all-commits at lists.llvm.org
Wed May 6 11:24:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 557690a68f5794c9ce070dfcee309e505d347335
      https://github.com/llvm/llvm-project/commit/557690a68f5794c9ce070dfcee309e505d347335
  Author: gulfemsavrun <gulfem at google.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M llvm/lib/ProfileData/CMakeLists.txt
    M llvm/test/tools/llvm-profgen/etm-arch.test
    M llvm/test/tools/llvm-profgen/etm-opencsd.test

  Log Message:
  -----------
  [llvm-profgen] Fix OpenCSD test and build issues (#195694)

1) Replace non-portable hex escapes in printf with POSIX-compliant octal
escapes in etm tests to fix
failures on Mac.

2) Define OCSD_USE_STATIC_C_API when building
LLVMProfileData on Windows to prevent incorrect dllimport interpretation
when linking against static OpenCSD libraries.

3) Update ProfileData to use the OPENCSD_ROOT hint when resolving
dependency paths and to support linking both static libraries for
OpenCSD.



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