diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-01-29 13:49:10 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-01-29 13:49:10 +0000 |
commit | 70bad665097a66b08025330f0678c471e77bcaa8 (patch) | |
tree | 89f60eb6cbd290ebae84f8211e91b2099e06e549 /contrib/llvm/tools/lld/ELF/OutputSections.h | |
parent | 032c24abe634720c4403c440e505cf5500aa6950 (diff) |
lld: Only lookup LMARegion once. NFC.
This is similar to how we handle MemRegion.
Obtained from: LLVM r323396 by Rafael Espindola
Notes
Notes:
svn path=/head/; revision=328543
Diffstat (limited to 'contrib/llvm/tools/lld/ELF/OutputSections.h')
-rw-r--r-- | contrib/llvm/tools/lld/ELF/OutputSections.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lld/ELF/OutputSections.h b/contrib/llvm/tools/lld/ELF/OutputSections.h index 009f45c03333..dd7f0955c986 100644 --- a/contrib/llvm/tools/lld/ELF/OutputSections.h +++ b/contrib/llvm/tools/lld/ELF/OutputSections.h @@ -89,6 +89,7 @@ public: // The following members are normally only used in linker scripts. MemoryRegion *MemRegion = nullptr; + MemoryRegion *LMARegion = nullptr; Expr AddrExpr; Expr AlignExpr; Expr LMAExpr; |