aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authordyung <douglas.yung@sony.com>2024-01-26 09:36:20 -0800
committerGitHub <noreply@github.com>2024-01-26 09:36:20 -0800
commit45f883ed06f39fba7557dfbbff4d10595b45f874 (patch)
treeee32a97469902401e1c1ab10336151870ea3020f /lldb/source/Commands/CommandObjectProcess.cpp
parent36b4a9ccd9f7e04010476e6b2a311f2052a4ac20 (diff)
downloadllvm-45f883ed06f39fba7557dfbbff4d10595b45f874.zip
llvm-45f883ed06f39fba7557dfbbff4d10595b45f874.tar.gz
llvm-45f883ed06f39fba7557dfbbff4d10595b45f874.tar.bz2
Change check for embedded llvm version number to a regex to make test more flexible. (#79528)
This test started to fail when LLVM created the release/18.x branch and the main branch subsequently had the version number increased from 18 to 19. I investigated this failure (it was blocking our internal automation) and discovered that the CHECK statement on line 27 seemed to have the compiler version number (1800) encoded in octal that it was checking for. I don't know if this is something that explicitly needs to be checked, so I am leaving it in, but it should be more flexible so the test doesn't fail anytime the version number is changed. To accomplish that, I changed the check for the 4-digit version number to be a regex. I originally updated this test for the 18->19 transition in a01195ff5cc3d7fd084743b1f47007645bb385f4. This change makes the CHECK line more flexible so it doesn't need to be continually updated.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions