[PATCH] D78561: [NFC] Improve Debugging experience with SmallVector

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 14:06:25 PDT 2020


aprantl added inline comments.


================
Comment at: llvm/include/llvm/Support/Compiler.h:501
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 #define LLVM_DUMP_METHOD LLVM_ATTRIBUTE_NOINLINE LLVM_ATTRIBUTE_USED
 #else
----------------
We'd want to use LLVM_USED_FOR_DEBUG instead of LLVM_ATTRIBUTE_USED here too?


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

https://reviews.llvm.org/D78561





More information about the llvm-commits mailing list