[PATCH] D116139: [ORC-RT] Add debug logging macros.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 21 19:10:31 PST 2021


lhames added a comment.

This doesn't address _how_ we'd log, just how we'd enable/disable logging expressions.

In my out-of-tree tests I've just been using fprintf, but it may make sense to add a debugging-specific output API along the lines of llvm::dbgs(). The key constraint we're working under is that since this will be used _by_ the platform support classes it can't rely on any non-trivial global constructors/destructors.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116139/new/

https://reviews.llvm.org/D116139



More information about the llvm-commits mailing list