diff options
Diffstat (limited to 'lld/ELF/InputSection.h')
| -rw-r--r-- | lld/ELF/InputSection.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h index ea8fd438cdf..17313d204d3 100644 --- a/lld/ELF/InputSection.h +++ b/lld/ELF/InputSection.h @@ -152,12 +152,11 @@ public: enum { // The piece is dead. PieceDead = uintX_t(-1), - // The piece is live, and an offset has not yet been assigned. After offsets + // The piece is live, but an offset has not yet been assigned. After offsets // have been assigned, if the output section uses tail merging, the field - // will still have this value and the output section offset is available - // from MergeOutputSection<ELFT>::getOffset(). Otherwise, this value has no - // special significance, it just means that the offset is 0. - PieceLive = uintX_t(0), + // will still have this value and the output section offset is computed + // lazilly. + PieceLive = uintX_t(-2), }; std::pair<std::pair<uintX_t, uintX_t> *, uintX_t> |

