aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/integer-overflow.c
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2017-01-12 19:47:38 +0000
committerMarcello Maggioni <hayarms@gmail.com>2017-01-12 19:47:38 +0000
commita5f1ff1afadbcff2f90757828b5f8a1147521c1c (patch)
tree47f5046870e76392ce279027f4e56a0ca8157de3 /clang/test/CodeGen/integer-overflow.c
parent6684aeb13701880734279043e8deb75976adef8c (diff)
downloadllvm-a5f1ff1afadbcff2f90757828b5f8a1147521c1c.zip
llvm-a5f1ff1afadbcff2f90757828b5f8a1147521c1c.tar.gz
llvm-a5f1ff1afadbcff2f90757828b5f8a1147521c1c.tar.bz2
[llvm-config] Fix obviously wrong code in parsing DyLib components.
The code parsing the string was using the offset returned from StringRef::find() wrong, assuming it was relative to the staring offset that is passed to the function, but the returned offset is always relative to the beginning of the line. This causes odd behaviour while parsing the component string. Spotted thanks to the newly added test: tools/llvm-config/booleans.test llvm-svn: 291803
Diffstat (limited to 'clang/test/CodeGen/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions