[PATCH] D56567: [ADT] Force attribute used on functions marked as always_inline.

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 10 16:52:59 PST 2019


mehdi_amini added a comment.

What about creating a new macrothat carry the semantic we're looking for here:  "LLVM_KEEP_FOR_DEBUG"?
We can conditionally define it based on NDEBUG or add a CMake flag for it that is enabled in debug build (the latter has the advantage that it would allow to turn it on even in release builds when needing to debug these)


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

https://reviews.llvm.org/D56567





More information about the llvm-commits mailing list