diff options
| author | George Rimar <grimar@accesssoftek.com> | 2018-03-15 09:24:51 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2018-03-15 09:24:51 +0000 |
| commit | 61a1f50b39ba9bf5dcf427cffdda2cfaa6bc9654 (patch) | |
| tree | 57f3ad9e37fa3e35bb60aaba6e5bba54ab477b0e | |
| parent | 84bcabcb86b2f30f4a2539c46cf1f5e3a5161d1f (diff) | |
| download | bcm5719-llvm-61a1f50b39ba9bf5dcf427cffdda2cfaa6bc9654.tar.gz bcm5719-llvm-61a1f50b39ba9bf5dcf427cffdda2cfaa6bc9654.zip | |
[ELF] - Fix build bot after rL327612.
Error was:
error: field 'Size' will be initialized after field 'CommandString' [-Werror,-Wreorder]
llvm-svn: 327613
| -rw-r--r-- | lld/ELF/LinkerScript.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index 5d5e40e9856..dc5406145cd 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -191,8 +191,8 @@ struct AssertCommand : BaseCommand { // Represents BYTE(), SHORT(), LONG(), or QUAD(). struct ByteCommand : BaseCommand { ByteCommand(Expr E, unsigned Size, std::string CommandString) - : BaseCommand(ByteKind), Expression(E), Size(Size), - CommandString(CommandString) {} + : BaseCommand(ByteKind), Expression(E), CommandString(CommandString), + Size(Size) {} static bool classof(const BaseCommand *C) { return C->Kind == ByteKind; } |

