[all-commits] [llvm/llvm-project] cdd560: [lldb][XcodeSDK] Simplify logic that adjusts sysro...

Michael Buch via All-commits all-commits at lists.llvm.org
Tue Mar 11 01:13:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdd560eead457bcc6dbb28ef88d868bc68cfd7e6
      https://github.com/llvm/llvm-project/commit/cdd560eead457bcc6dbb28ef88d868bc68cfd7e6
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M lldb/include/lldb/Utility/XcodeSDK.h
    M lldb/source/Utility/XcodeSDK.cpp
    M lldb/unittests/Utility/XcodeSDKTest.cpp

  Log Message:
  -----------
  [lldb][XcodeSDK] Simplify logic that adjusts sysroot during XcodeSDK merging (#130640)

The `DW_AT_APPLE_sdk` should always be equal to the filename of the
`DW_AT_LLVM_sysroot`. We can use this property to simplify
`XcodeSDK::Merge` to no longer manually adjust the sysroot filename.
Instead we simply update the sysroot filename with merged SDK name.

This should be an NFC change.



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