[libcxx-commits] [libcxx] [libc++] Put [[gnu::nodebug]] on all internal aliases (PR #118710)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 4 16:29:16 PST 2024


cmtice wrote:

This patch significantly improves things. WIth it, instead of my gdb_index getting 9.5% larger, it gets 4.2% smaller.

One question: Is there a reason for preferring [[gnu::nodebug]] over _LIBCPP_NODEBUG?  The reason I ask:  we've been moving away from using gdb_index in favor of using the debug_names index instead, and I worry about whether the code that builds the debug_names index would honor [[gnu::nodebug]]... 

https://github.com/llvm/llvm-project/pull/118710


More information about the libcxx-commits mailing list