aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-11-02 03:35:45 +0000
committerRui Ueyama <ruiu@google.com>2013-11-02 03:35:45 +0000
commitd19d0bc5d271e83ea7e2b8c81b260be7cd337d02 (patch)
tree2299a95005b979bfe64194091b61ddccb668ad7e /llvm/lib/Object/MachOObjectFile.cpp
parent9f6383c741321af1f5296ad6fd43494f9a37386d (diff)
downloadllvm-d19d0bc5d271e83ea7e2b8c81b260be7cd337d02.zip
llvm-d19d0bc5d271e83ea7e2b8c81b260be7cd337d02.tar.gz
llvm-d19d0bc5d271e83ea7e2b8c81b260be7cd337d02.tar.bz2
[MachO] Fix uninitialized field bug found on Windows.
n_desc field in MachO string table was not initialized. On Unix, test/darwin/hello-world.objtxt did not fail because I think an nlist object is always allocated to a fresh heap initialized with zeros. On Windows, uninitialized fields are filled with 0xCC when compiled with /GZ. Because of that the test was failing on Windows. llvm-svn: 193909
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions