We've had many requests to elide some classes of entries in backtraces - like 
to mirror the Xcode display I mentioned previously.  Most of these requests 
don't depend on the functions being marked artificial.  So if we're going to do 
this, something more general than just "marked artificial" -> elided anyway.

Jim


> On Sep 24, 2019, at 3:01 AM, Nat! via lldb-dev <lldb-dev@lists.llvm.org> 
> wrote:
> 
> 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

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

Reply via email to