diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-12 18:22:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-12 18:22:33 +0000 |
commit | 5db4cdfc56f17959d3d0d3067af1b2346bcc0120 (patch) | |
tree | 0816df6e67751961072ba3addaec342d1b702447 /docs/tutorial/JITTutorial1.html | |
parent | 1cefb7419088baabbb1ada78f520b92e980a0a6c (diff) |
"There was a typo in my previous patch which leads to miscompilation of
strncat :(
strncat(foo, "bar", 99)
would be optimized to
memcpy(foo+strlen(foo), "bar", 100, 1)
instead of
memcpy(foo+strlen(foo), "bar", 4, 1)"
Patch by Benjamin Kramer!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/JITTutorial1.html')
0 files changed, 0 insertions, 0 deletions