It's not used for anything yet, but we now accept /pdbpagesize:4096
(the default behavior) and we give arguably more useful diagnostics
for other values.
Details
Details
- Reviewers
hans - Commits
- rGf964ca896f5e: [lld/coff] Add parsing for /pdbpagesize: flag
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm
Feel free to ignore the comment.
lld/COFF/Config.h | ||
---|---|---|
127 | unsigned is probably more common LLVM-style (like ltoo or ltoPartitions), or maybe even size_t (like wordsize). |
Comment Actions
Thanks!
lld/COFF/Config.h | ||
---|---|---|
127 | Given that this only stores a very limited set of small values, int has the advantage that writing 4096 instead of 4096u doesn't give you sign conversion warnings. So I (very weakly) prefer this here. |
unsigned is probably more common LLVM-style (like ltoo or ltoPartitions), or maybe even size_t (like wordsize).