cherrymui

Results 215 comments of cherrymui

Inside Google, for (at least some) C++/Go mixed binaries, it is built with `-mcmodel=medium` `-mlarge-data-threshold`. With LLD, the sections are laid out in the order `.rodata`, ..., `.text`, ..., `.data.rel.ro`,...

Putting pclntab in lrodata is a reasonable workaround, as our pclntab could very well be larger than the `-mlarge-data-threshold`. I'd think we want to do it only when linking externally...

bytes, debug/elf, os, reflect, and testing looks good to me.

I propose we allow `-buildmode=archive` for main packages. - For non-main packages (the default) `-buildmode=archive` already means "to compile the package". - For non-main packages it generates the .a and...

I still want my use case [above](https://github.com/golang/go/issues/31710#issuecomment-1716391553). It is mainly for toolchain developers and it has a relatively simple workaround, though.