Simplify RelrSection<ELFT>::updateAllocSize.
authorRui Ueyama <ruiu@google.com>
Mon, 9 Jul 2018 22:29:57 +0000 (22:29 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 9 Jul 2018 22:29:57 +0000 (22:29 +0000)
commit703c872a4a64160cee299fae0144c9bf08949cc8
tree01a7354e546c11f9e28dfd243270c57e02f08072
parent77eeac3d9e9418ac0aea131d20ac84b656977814
Simplify RelrSection<ELFT>::updateAllocSize.

This patch also speeds it up by making some constants compile-time
constants. Other than that, NFC.

Differential Revision: https://reviews.llvm.org/D49101

llvm-svn: 336614
lld/ELF/SyntheticSections.cpp