Clang has __attribute__((nodebug)) which will completely suppress debug info for function - so not exactly same thing, but for simple wrapper functions may be ok. There's gnu::artificial, but that's for different functionality - I believe it works only works when code is actually inlined.