dblaikie added a subscriber: aprantl. dblaikie added inline comments.
================ Comment at: lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp:8 + // FROM-FUNC1-NEXT: func1 + // FROM-FUNC1-SAME: [artificial] + // FROM-FUNC1-NEXT: main ---------------- vsk wrote: > labath wrote: > > vsk wrote: > > > Are these test updates necessary because lldb doesn't print '[opt]' and > > > '[artificial]' next to frame descriptions in a consistent way across > > > platforms? Or is it just that you don't think matching '[opt]' is > > > relevant to the test? > > Right, I wanted to mention that as it's not very obvious, but I forgot... > > > > The `[opt]` thingy is not printed at all with -ggdb because the attribute > > we get this information from -- DW_AT_APPLE_optimized -- is only emitted > > for -glldb. The optimization flag did not seem very relevant for these > > tests (I mean, technically the compiler could emit call site attributes > > even in non-optimized mode) so instead of forking the expectations I chose > > to simply remove it. > Sounds good. As an aside, now that lldb understands these attributes - perhaps we should emit them under -glldb as well as -ggdb? (@aprantl might be interested in making that call) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80519/new/ https://reviews.llvm.org/D80519 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits