diff options
-rw-r--r-- | lld/ELF/Symbols.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h index 1acaae432b4..fff22f69715 100644 --- a/lld/ELF/Symbols.h +++ b/lld/ELF/Symbols.h @@ -306,7 +306,7 @@ public: // If non-null the symbol has a Thunk that may be used as an alternative // destination for callers of this Symbol. - Thunk<ELFT> *ThunkData; + Thunk<ELFT> *ThunkData = nullptr; bool needsCopy() const { return this->NeedsCopyOrPltAddr && !this->isFunc(); } }; |