[llvm-commits] [lld] r167244 - /lld/trunk/lib/ReaderWriter/MachO/StubsPass.hpp
Michael J. Spencer
bigcheesegs at gmail.com
Thu Nov 1 12:45:53 PDT 2012
Author: mspencer
Date: Thu Nov 1 14:45:53 2012
New Revision: 167244
URL: http://llvm.org/viewvc/llvm-project?rev=167244&view=rev
Log:
[MachO] Fix uninitialized variables.
Modified:
lld/trunk/lib/ReaderWriter/MachO/StubsPass.hpp
Modified: lld/trunk/lib/ReaderWriter/MachO/StubsPass.hpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/StubsPass.hpp?rev=167244&r1=167243&r2=167244&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/StubsPass.hpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/StubsPass.hpp Thu Nov 1 14:45:53 2012
@@ -30,7 +30,10 @@
public:
StubsPass(const WriterOptionsMachO &options)
: _options(options),
- _kindHandler(KindHandler::makeHandler(options.architecture())) {
+ _kindHandler(KindHandler::makeHandler(options.architecture())),
+ _helperCommonAtom(nullptr),
+ _helperCacheAtom(nullptr),
+ _helperBinderAtom(nullptr) {
}
virtual bool noTextRelocs() {
More information about the llvm-commits
mailing list