aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorkkent030315 <hrn832@protonmail.com>2025-09-05 05:06:38 +0900
committerGitHub <noreply@github.com>2025-09-04 23:06:38 +0300
commit119d507afcb6d8d1546e1b1fc9dbaf22c319851e (patch)
tree51e03fe97a96ac02e41b192ab1d430c7b73c7fca /lldb/source/Commands/CommandObjectThread.cpp
parentf88eadda357b0429b390ec0bcf64c361ad1a8f28 (diff)
downloadllvm-119d507afcb6d8d1546e1b1fc9dbaf22c319851e.zip
llvm-119d507afcb6d8d1546e1b1fc9dbaf22c319851e.tar.gz
llvm-119d507afcb6d8d1546e1b1fc9dbaf22c319851e.tar.bz2
[LLD][COFF] Add support for custom section layout (#152779)
MS link.exe provides the `/sectionlayout:@` option to specify the order of output sections at the granularity of individual sections. LLD/COFF currently does not have capability for user-controlled ordering of one or more output sections (as LLD/COFF does not support linker scripts), and this PR adds the option to align with MS link.exe. The option accepts only a file that specifies the order of sections, one per line. For example, `mylayout.txt` could emit the `.text` section after all other sections while preserving the original relative order of the remaining sections. ``` .data .rdata .pdata .rsrc .reloc .text ``` ```bash echo 'int main() { return 0; }' > main.c cl main.c /link /entry:main /sectionlayout:@mylayout.txt llvm-readobj --sections main.exe ```
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions