[all-commits] [llvm/llvm-project] 3a2787: [orc-rt] Move ORC_RT_LOG_ENABLED into config.h. (#...

Lang Hames via All-commits all-commits at lists.llvm.org
Fri Sep 25 18:13:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a2787d5ca6ba0271f7203997f8a9b65679398a4
      https://github.com/llvm/llvm-project/commit/3a2787d5ca6ba0271f7203997f8a9b65679398a4
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M orc-rt/include/orc-rt-c/config.h.in
    M orc-rt/include/orc-rt-c/support/Logging.h

  Log Message:
  -----------
  [orc-rt] Move ORC_RT_LOG_ENABLED into config.h. (#226617)

ORC_RT_LOG_ENABLED depends only on the logging configuration values
defined in config.h, but was defined in Logging.h, so checking whether a
log level is compiled in required pulling in the logging backend's
headers (e.g. <os/log.h>).

This commit moves ORC_RT_LOG_ENABLED (and its level-token aliases) into
config.h, so that headers can check the logging configuration without
including Logging.h.



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