This option can be used to set the size of the initial stack by setting the size of the PT_GNU_STACK segment.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with nits.
ELF/Config.h | ||
---|---|---|
117 ↗ | (On Diff #68124) | Sort. |
ELF/Driver.cpp | ||
260 ↗ | (On Diff #68124) | getZOptionValue would be a better name because this function returns a value. |
264–265 ↗ | (On Diff #68124) | You can merge the two ifs. |
413 ↗ | (On Diff #68124) | Nit: remove {}. |
test/ELF/zstack-size.s | ||
11–47 ↗ | (On Diff #68124) | These program headers are not relevant, so please remove. |
ELF/Config.h | ||
---|---|---|
117 ↗ | (On Diff #68124) | Isn't this already sorted (relative to other Z fields)? |
Comment Actions
LGTM wtih this change.
ELF/Config.h | ||
---|---|---|
117 ↗ | (On Diff #68300) | But other members are sorted by type, too. See ImageBase below. |
ELF/Config.h | ||
---|---|---|
117 ↗ | (On Diff #68300) | I missed the sorting by type. |