aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-08-15 13:39:28 -0400
committerSanjay Patel <spatel@rotateright.com>2021-08-15 13:51:18 -0400
commit8721490d3859b4d7fff633bdf3c71d888e75727c (patch)
treed2a1feb5d4ba533ed9a83cb9ad6ee8f8482a5fdd /llvm/lib/Support/CommandLine.cpp
parentcd0e1964137f1cd7b508809ec80c7d9dcb3f0458 (diff)
downloadllvm-8721490d3859b4d7fff633bdf3c71d888e75727c.zip
llvm-8721490d3859b4d7fff633bdf3c71d888e75727c.tar.gz
llvm-8721490d3859b4d7fff633bdf3c71d888e75727c.tar.bz2
[x86] split memcmp tests for 32/64-bit targets; NFC
memcmp is defined as taking a size_t length arg, so that differs depending on pointer size of the target. We casually matched non-compliant function signatures as memcmp, but that can cause crashing as seen with PR50850. If we fix that bug, these tests would no longer be testing the expected behavior for a 32-bit target, so I have duplicated all tests and adjusted them to match the stricter definition of memcmp/bcmp by changing the length arg to i32 on a 32-bit target.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions