summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-08-31 06:36:33 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-08-31 06:36:33 +0000
commit1211d43abfd870c969ffb875d646e762a420e666 (patch)
treeb3481c5a0bb7aa3c06644a9e6f072299fbe5fbe9 /test
parenta805b2ded869d5342397d0c62c3c3848900e5c8f (diff)
downloadllvm-1211d43abfd870c969ffb875d646e762a420e666.tar.gz
llvm-1211d43abfd870c969ffb875d646e762a420e666.tar.bz2
llvm-1211d43abfd870c969ffb875d646e762a420e666.tar.xz
System: Fix getMagicNumber on windows.
getMagicNumber was treating the _binary_ data it read in as a null terminated string. This resulted in the std::string calculating the length, and causing an assert in other code that assumed that the length it passed was the same as the length of the string it would get back. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions