Skip to content

Conversation

medismailben
Copy link

@medismailben medismailben commented Aug 22, 2025

This patch silences from escape sequence warnings from the crashlog
script that were mostly due to regular expression strings.

This is addresses by using raw strings so the escape character isn't
interpreted by python and gets passed straight to the regular expression
engine.

Signed-off-by: Med Ismail Bennani ismail@bennani.ma

@medismailben medismailben requested a review from a team as a code owner August 22, 2025 22:15
@medismailben
Copy link
Author

@swift-ci test

This patch silences from escapte sequence warnings from the crashlog
script that were mostly due to regular expression strings.

This is addresses by using raw strings so the escape character isn't
interpreted by python and gets passed straight to the regular expression
engine.

Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
@medismailben
Copy link
Author

@swift-ci test

@medismailben medismailben changed the title [lldb/crashlog] Implement speculative binary lookup for target creation [lldb/crashlog] Use raw strings to silence escape sequence warnings Aug 25, 2025
@medismailben medismailben merged commit 22c18a5 into swiftlang:stable/20240723 Aug 26, 2025
3 checks passed
@JDevlieghere
Copy link

Is there a corresponding upstream patch?

@medismailben
Copy link
Author

Is there a corresponding upstream patch?

This has been changed as part of 24abf2c upstream but that patch affects the entire llvm-project directory not only lldb or crashlog related scripts. I tried cherry-picking it but I ran into some conflicts. Given that it would part of the rebranch anyway, I went ahead and cherry-picked only the changes related to crashlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants