[all-commits] [llvm/llvm-project] b6c06d: [ORC] Fix bug in source file name finding in Debug...

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Jan 2 20:46:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6c06d1a8d9b359e7319312a2a7654f0e7c6690c
      https://github.com/llvm/llvm-project/commit/b6c06d1a8d9b359e7319312a2a7654f0e7c6690c
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp
    A llvm/test/ExecutionEngine/JITLink/x86-64/MachO-check-dwarf-filename.s

  Log Message:
  -----------
  [ORC] Fix bug in source file name finding in DebuggerSupportPlugin.

The debug section map was using MachO section names (with the "__" prefix), but
DWARFContext expects section names with the object format prefix stripped off.
This was preventing DWARFContext from accessing the debug_str section,
resulting in bogus source name strings.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list