diff options
| author | Arthur Eubanks <aeubanks@google.com> | 2023-05-31 08:52:21 -0700 |
|---|---|---|
| committer | Arthur Eubanks <aeubanks@google.com> | 2023-06-01 15:37:02 -0700 |
| commit | c8ea66937bdf2f11e5c4f884e3164c98cc6520bb (patch) | |
| tree | b93bbee36f443235d170af93fe7e5c644168ceaa /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | 8609df7c6e91301af72080caab01b2edcef78b33 (diff) | |
| download | llvm-c8ea66937bdf2f11e5c4f884e3164c98cc6520bb.zip llvm-c8ea66937bdf2f11e5c4f884e3164c98cc6520bb.tar.gz llvm-c8ea66937bdf2f11e5c4f884e3164c98cc6520bb.tar.bz2 | |
[lld][COFF] Retry failed paths to take advantage of winsysroot search paths
With /winsysroot and without /machine, we don't know which paths to add to the search paths.
We do autodetect machine type and add winsysroot search paths in SymbolTable::addFile(), but that happens after all input files are opened. So in the loop where we read files, if we fail to open a file we can retry with the winsysroot search path potentially added by reading a previous file. This will fail if we try to open something in the winsysroot before reading a file that can give us the architecture, but shrug.
Fixes #54409
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D151815
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
