[all-commits] [llvm/llvm-project] 6c02e3: [lldb] fix dangling reference in `ClangHost.cpp`

paperchalice via All-commits all-commits at lists.llvm.org
Tue Jun 6 08:11:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c02e365711cab47ed9abe9f091c25651a3efd74
      https://github.com/llvm/llvm-project/commit/6c02e365711cab47ed9abe9f091c25651a3efd74
  Author: paperchalice <lgamma at 163.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp

  Log Message:
  -----------
  [lldb] fix dangling reference in `ClangHost.cpp`

The lifetime of clang_resource_path should be same as
kResourceDirSuffixes, because kResourceDirSuffixes doesn't own
clang_resource_path.

Differential Revision: https://reviews.llvm.org/D152225




More information about the All-commits mailing list