diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2019-02-27 00:40:59 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2019-02-27 00:40:59 +0000 |
commit | 49ef2a4acdbba941d67d65b42d302191424c4119 (patch) | |
tree | 5424e0077ccd79cc8a813f07e61437bc45c381da /libcxx/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp | |
parent | 7ad06a9319fdd54a890f75026049e3e4bcfa061e (diff) | |
download | bcm5719-llvm-49ef2a4acdbba941d67d65b42d302191424c4119.tar.gz bcm5719-llvm-49ef2a4acdbba941d67d65b42d302191424c4119.zip |
Fix inline assembler constraint validation
The current constraint logic is both too lax and too strict. It fails
for input outside the [INT_MIN..INT_MAX] range, but it also implicitly
accepts 0 as value when it should not. Adjust logic to handle both
correctly.
Differential Revision: https://reviews.llvm.org/D58649
llvm-svn: 354937
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp')
0 files changed, 0 insertions, 0 deletions