diff options
Diffstat (limited to 'lld/ELF/Writer.h')
| -rw-r--r-- | lld/ELF/Writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index 17fbda394a2..e935b6419de 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -30,7 +30,7 @@ bool isRelroSection(const OutputSection *Sec); // Each contains type, access flags and range of output sections that will be // placed in it. struct PhdrEntry { - PhdrEntry(unsigned Type, unsigned Flags); + PhdrEntry(unsigned Type, unsigned Flags) : p_type(Type), p_flags(Flags) {} void add(OutputSection *Sec); uint64_t p_paddr = 0; |

