[all-commits] [llvm/llvm-project] 5b9306: [ORC] Add missing header from 089acf25223.

lhames via All-commits all-commits at lists.llvm.org
Fri Jan 7 22:28:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b930691166cf4ea25aea84d89962d15495004f0
      https://github.com/llvm/llvm-project/commit/5b930691166cf4ea25aea84d89962d15495004f0
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-01-08 (Sat, 08 Jan 2022)

  Changed paths:
    A llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h

  Log Message:
  -----------
  [ORC] Add missing header from 089acf25223.


  Commit: 1d82e19f37df5958d2dfc24f75179ec077916cc4
      https://github.com/llvm/llvm-project/commit/1d82e19f37df5958d2dfc24f75179ec077916cc4
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-01-08 (Sat, 08 Jan 2022)

  Changed paths:
    M compiler-rt/lib/orc/CMakeLists.txt
    A compiler-rt/lib/orc/debug.cpp
    A compiler-rt/lib/orc/debug.h

  Log Message:
  -----------
  [ORC-RT] Add debug logging macros.

Inspired by LLVM_DEBUG, but using environment variables rather than command line
options.

Code can use ORC_RT_DEBUG(...) (if ORC_RT_DEBUG_TYPE is set), or
ORC_RT_DEBUG_WITH_TYPE(<type>, ...) (if ORC_RT_DEBUG_TYPE is not set. E.g. in
headers).

Debug logging is enabled in the executor by setting the ORC_RT_DEBUG environment
variable. Debug logging can be restricted by type by setting the
ORC_RT_DEBUG_TYPES environment variable to a comma separated list of types,
e.g. ORC_RT_DEBUG_TYPES=macho_platform,sps.

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


Compare: https://github.com/llvm/llvm-project/compare/089acf25223d...1d82e19f37df


More information about the All-commits mailing list