vscode-swift icon indicating copy to clipboard operation
vscode-swift copied to clipboard

Verify LLDB python version

Open adam-fowler opened this issue 1 year ago • 2 comments

Verify version of python in the path is the same version of python that liblldb was built against. Can use llvm-readobj to do this.

This is a request for Windows but may also be a valid request on other platforms.

adam-fowler avatar May 07 '23 09:05 adam-fowler

@compnerd I haven't checked Windows but llvm-readobj is not part of the standard swift install on macOS or Linux

adam-fowler avatar May 09 '23 12:05 adam-fowler

That sounds plausible. The Windows Swift distribution packages it. Linux can use readelf instead of llvm-readobj and Darwin can use otool. If we had the llvm tools it would be simpler since it can handle all three platforms.

compnerd avatar May 09 '23 13:05 compnerd