summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-01 19:55:34 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-01 19:55:34 +0000
commit8c3137925d92ddb008d6cc3bfe2b1586260c5b70 (patch)
treed1e0278f252138dae58d2b30d5390732e43e1de4 /lib/Bitcode/Reader/BitcodeReader.cpp
parentdbd5d9d0b85e7b1c202f27aa3f7be6c3d42fed2d (diff)
downloadllvm-8c3137925d92ddb008d6cc3bfe2b1586260c5b70.tar.gz
llvm-8c3137925d92ddb008d6cc3bfe2b1586260c5b70.tar.bz2
llvm-8c3137925d92ddb008d6cc3bfe2b1586260c5b70.tar.xz
Fix uninitialized variable introduced in r207739.
This was initialized by llvm-mc (calling setDwarfVersion) but other clients (such as clang, llc, etc) aren't necessarily initializing this so we were getting garbage DWARF version values in the output. Initialize it to a reasonable default (the same default used in llvm-mc, though this is higher than it was (2) previously). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions