Previously, this option was simply ignored.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lld/test/COFF/align.s | ||
---|---|---|
28 ↗ | (On Diff #213288) | Align the values? |
lld/test/COFF/align.s | ||
---|---|---|
28 ↗ | (On Diff #213288) | This is as-is, and I guess that this is actually aligned vertically by some rule, as it looks like this line is aligned vertically with the following "CheckSum" and "Number" lines. |
Comment Actions
lgtm with question, no need to re-review
lld/COFF/Writer.cpp | ||
---|---|---|
1201 ↗ | (On Diff #213288) | Should this be alignTo(sizeOfHeaders, config->align)? I assume sizeOfHeaders was less than 4096, so this shouldn't be a behavior change for a default alignment. |
lld/COFF/Writer.cpp | ||
---|---|---|
1201 ↗ | (On Diff #213288) | Yeah, I think you are right. Fixed. |