[all-commits] [llvm/llvm-project] 8ece6b: [lldb] Use getMainExecutable in SBDebugger::PrintS...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Apr 7 13:53:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ece6b78c0425ba587c34bbb046d1cb6529a4569
      https://github.com/llvm/llvm-project/commit/8ece6b78c0425ba587c34bbb046d1cb6529a4569
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M lldb/source/API/SBDebugger.cpp

  Log Message:
  -----------
  [lldb] Use getMainExecutable in SBDebugger::PrintStackTraceOnError

Implement Pavel's suggestion to use llvm::sys::fs::getMainExecutable to
find the executable name for llvm::sys::PrintStackTraceOnErrorSignal.




More information about the All-commits mailing list