[all-commits] [llvm/llvm-project] 28e494: [lldb] Remove FileSpec(FileSpec*) constructor

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Dec 4 01:51:38 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 28e4942b2c3b8961b91b362b4b76b9ca0f735cc2
      https://github.com/llvm/llvm-project/commit/28e4942b2c3b8961b91b362b4b76b9ca0f735cc2
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M lldb/include/lldb/Utility/FileSpec.h
    M lldb/source/API/SBThread.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
    M lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
    M lldb/source/Symbol/LocateSymbolFile.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Utility/FileSpec.cpp

  Log Message:
  -----------
  [lldb] Remove FileSpec(FileSpec*) constructor

This constructor was the cause of some pretty weird behavior. Remove it,
and update all code to properly dereference the argument instead.




More information about the All-commits mailing list