[lld] [llvm] COFF: Allow hex literals in .def files: BASE/HEAPSIZE/STACKSIZE (PR #184764)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 03:29:04 PST 2026


mon wrote:

Thanks, I was kinda lost as to exactly where to put tests for this / the quickest way to iterate on adding them.

Turns out the best place seems to be lld/test/COFF, which deals with the fact that getting the numbers back out involves linking an actual .exe.

Verified my tests are valid by adding 1 to all of the values and ensuring they actually failed.

https://github.com/llvm/llvm-project/pull/184764


More information about the llvm-commits mailing list