aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-11-02 13:41:06 +0000
committerMartin Storsjö <martin@martin.st>2022-11-15 12:09:32 +0200
commitb95f54350c85f535282cf2d8cd5c5925febb27f8 (patch)
tree71d45c97c3390e1b16f78f74414c9313dd1ecb35 /clang/lib/Frontend/InitPreprocessor.cpp
parentae59131d3ef311fb4b1e50627c6457be00e60dc9 (diff)
downloadllvm-b95f54350c85f535282cf2d8cd5c5925febb27f8.zip
llvm-b95f54350c85f535282cf2d8cd5c5925febb27f8.tar.gz
llvm-b95f54350c85f535282cf2d8cd5c5925febb27f8.tar.bz2
[lit] [Windows] Print exit codes > 255 as hex too
891bb4872c8098f8a851a92e989af3252b46f5ad made negative exit codes be printed as hex, which makes it easier to recognize e.g. 0xC0000005 instead of -1073741819. However, current Python versions (at least the ones I'm using) seem to end up with positive unsigned return codes, so that again ends up printed as 3221225477. Print any return code over 255 as a hexadecimal number instead. Differential Revision: https://reviews.llvm.org/D137771
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions