diff options
Diffstat (limited to 'lld/ELF/LinkerScript.h')
| -rw-r--r-- | lld/ELF/LinkerScript.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index 3b56a8f0101..425cf33c806 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -166,11 +166,11 @@ struct BytesDataCommand : BaseCommand { struct PhdrsCommand { StringRef Name; - unsigned Type; - bool HasFilehdr; - bool HasPhdrs; - unsigned Flags; - Expr LMAExpr; + unsigned Type = llvm::ELF::PT_NULL; + bool HasFilehdr = false; + bool HasPhdrs = false; + llvm::Optional<unsigned> Flags; + Expr LMAExpr = nullptr; }; // ScriptConfiguration holds linker script parse results. |

