[PATCH] D40017: [LLD] [MinGW] Add support for --dynamicbase, --nxcompat, --tsaware and --high-entropy-va

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 13:40:19 PST 2017


rnk added a comment.

Are all of these defaults important for mingw compatibility, or just -dynamicbase?

I really prefer LLD's defaults, which are inherited from MSVC. Users really shouldn't be making new PE images with executable data segments, or legacy pre-terminal server apps. We need to reserve the right to shed that cruft as time goes on. Microsoft accomplishes that by having very defined multi-year product cycles that are expected to have some migration cost. If the clang or gcc driver sets all these flags by default for the user, I don't care that much and I'd be OK with this patch.


https://reviews.llvm.org/D40017





More information about the llvm-commits mailing list