diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h index 856767a102d9..1acaae432b4b 100644 --- a/lld/ELF/Symbols.h +++ b/lld/ELF/Symbols.h @@ -230,7 +230,7 @@ public: // If non-null the symbol has a Thunk that may be used as an alternative // destination for callers of this Symbol. - Thunk *ThunkData; + Thunk *ThunkData = nullptr; private: static InputSectionBase *NullInputSection;