Nat! schrieb am 24.09.19 um 00:28:


On 23.09.19 19:22, Adrian Prantl wrote:
I think the best mechanism for this would be to ensure that the trampolines are marked up as DW_AT_artificial and/or DW_AT_trampoline by the compiler. I'm pretty sure LLDB then already knows how to hide artificial frames (somebody else can probably provide pointers for how that works).

-- adrian

That's a good idea. I can just put __attribute__((artificial)__ on my dispatch functions. That's the low-hanging-fruit code I like :)
And though it might not fully work yet with lldb , it may in the future.


Unfortunately clang complains that the "'artificial' attribute only applies to inline functions" (why ?). Bummer.

Ciao
   Nat!

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to