diff options
author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | 2024-04-01 14:13:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 14:13:56 -0700 |
commit | 70e189fbc96909d3841dd2bca4a2909345cd826f (patch) | |
tree | 4ff81ffd0ed7165a737ff61b8cef23e1a71443f9 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 03577ced1f55bf96224513f2414bf025d6877fac (diff) | |
download | llvm-70e189fbc96909d3841dd2bca4a2909345cd826f.zip llvm-70e189fbc96909d3841dd2bca4a2909345cd826f.tar.gz llvm-70e189fbc96909d3841dd2bca4a2909345cd826f.tar.bz2 |
[libc] fixup ftello test (#87282)
Use a seek offset that fits within the file size.
This was missed in presubmit because the FILE based stdio tests aren't
run in
overlay mode; fullbuild is not tested in presubmit.
WRITE_SIZE == 11, so using a value of 42 for offseto would cause the
expression
`WRITE_SIZE - offseto` to evaluate to -31 as an unsigned 64b integer
(18446744073709551585ULL).
Fixes #86928
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions