[all-commits] [llvm/llvm-project] 170e1f: [lldb] Fix regex support in SBTarget.modules_acces...

Dave Lee via All-commits all-commits at lists.llvm.org
Mon Nov 18 16:16:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 170e1fe5a5211420923e32995d8bf3da196c2a54
      https://github.com/llvm/llvm-project/commit/170e1fe5a5211420923e32995d8bf3da196c2a54
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M lldb/bindings/interface/SBTargetExtensions.i
    M lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py

  Log Message:
  -----------
  [lldb] Fix regex support in SBTarget.modules_access (#116452)

First, `SRE_Pattern` does not exist on newer Python's, use
`type(re.compile(''))` like other Python extensions do. The dynamic type
is because some earlier versions of Python 3 do not have `re.Pattern`.

Second, `SBModule` has a `file` property, not a `path` property.



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