[Webkit-unassigned] [Bug 207119] Enable offlineasm debug annotations for GCC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 25 10:54:15 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=207119

--- Comment #21 from Konstantin Tokarev <annulen at yandex.ru> ---

(In reply to Angelos Oikonomopoulos from comment #18)
> - unconditionally emit marker symbols around the top-level inline asm
> statement in LowLevelInterpreter.cpp, as this has nothing to do with the
> build toolchain and everything to do with the ability to debug using gdb.
> However, clang doesn't currently support __no_reorder__ so this is
> effectively a no-op.

Do I understand correctly that GDB just needs to have .cfi_startproc and .cfi_endproc here to start using following .file and .loc directives?

If so, we might want to emit minimal assembly stub here via asm volatile instead of inserting unused function body. I think it may express intention more clearly even for GCC case, and should work with Clang as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200325/34ac9f40/attachment.htm>


More information about the webkit-unassigned mailing list