diff options
| author | Dan McGregor <dan.mcgregor@usask.ca> | 2022-10-26 16:52:32 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2022-10-26 16:52:32 -0700 |
| commit | 0d7eba1aeed853798bd8012f786c305e83a97b67 (patch) | |
| tree | 6022b6ab67597c8a7a1bddeab702b36dae282da3 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | d77556549a4ea940edba3dfa388cbec4c3bb7f20 (diff) | |
[Driver] Allow target override containing . in executable name
The gcc compatible driver has support for overriding the default
target based on the driver's executable name, for instance
x86_64-pc-linux-gnu-clang will set the default target to
x86_64-pc-linux-gnu.
Previously, this failed when the target contained a minor version, for
example x86_64-pc-freebsd13.1, so instead of finding the file's
stem, use the whole file name, but strip off any '.exe' from the tail.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D135284
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
