[all-commits] [llvm/llvm-project] 44fc98: [lldb][test] Toolchain detection rewrite in Python...

Vladislav Dzhidzhoev via All-commits all-commits at lists.llvm.org
Wed Sep 11 06:04:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44fc987ed174e32544a577387ab0df6886495e82
      https://github.com/llvm/llvm-project/commit/44fc987ed174e32544a577387ab0df6886495e82
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/builders/builder.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    M lldb/test/API/functionalities/breakpoint/breakpoint_ids/Makefile
    M lldb/test/API/functionalities/breakpoint/breakpoint_locations/Makefile
    M lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/Makefile
    M lldb/test/API/functionalities/breakpoint/cpp/Makefile
    M lldb/test/API/functionalities/breakpoint/dummy_target_breakpoints/Makefile
    M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/Makefile
    M lldb/test/API/functionalities/breakpoint/step_over_breakpoint/Makefile
    M lldb/test/API/functionalities/breakpoint/thread_plan_user_breakpoint/Makefile
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py
    M lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
    M lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
    M lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py
    M lldb/test/API/functionalities/inline-stepping/Makefile
    M lldb/test/API/functionalities/postmortem/minidump-new/makefile.txt
    M lldb/test/API/lang/objc/orderedset/TestOrderedSet.py
    M lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
    M lldb/test/API/macosx/macCatalyst/Makefile
    M lldb/test/API/macosx/macCatalystAppMacOSFramework/Makefile
    M lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
    M lldb/test/API/python_api/frame/inlines/Makefile
    M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py

  Log Message:
  -----------
  [lldb][test] Toolchain detection rewrite in Python (#102185)

This fix is based on a problem with cxx_compiler and cxx_linker macros
on Windows.
There was an issue with compiler detection in paths containing "icc". In
such case, Makefile.rules thought it was provided with icc compiler.

To solve that, utilities detection has been rewritten in Python.
The last element of compiler's path is separated, taking into account
the platform path delimiter, and compiler type is extracted, with regard
of possible cross-toolchain prefix.

---------

Co-authored-by: Pavel Labath <pavel at labath.sk>



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