aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-07-16 15:41:51 +0100
committerGitHub <noreply@github.com>2025-07-16 15:41:51 +0100
commitf995bc802d06448a41846652d5e9a9f30f80a688 (patch)
treecb7a4e0bff36675a226ddf6e1924d952d6dcf174 /llvm/lib/Transforms/Utils/Local.cpp
parent584158f9aeac7df66ca08649b8c082883c66b360 (diff)
downloadllvm-f995bc802d06448a41846652d5e9a9f30f80a688.zip
llvm-f995bc802d06448a41846652d5e9a9f30f80a688.tar.gz
llvm-f995bc802d06448a41846652d5e9a9f30f80a688.tar.bz2
[lldb] Improve setting of program for filtering disassembly (#148823)
This changes the example command added in https://github.com/llvm/llvm-project/pull/145793 so that the fdis program does not have to be a single program name. Doing so also means we can run the test on Windows where the program needs to be "python.exe script_name". I've changed "fdis set" to treat the rest of the command as the program. Then store that as a list to be passed to subprocess. If we just use a string, Python will think that "python.exe foo" is the name of an actual program instead of a program and an argument to it. This will still break if the paths have spaces in, but I'm trying to do just enough to fix the test here without rewriting all the option handling.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions