[PATCH] D24582: [MC] Add section flag 'D' for disardable COFF sections

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 14:21:48 PDT 2016


rnk added a comment.

In https://reviews.llvm.org/D24582#543071, @majnemer wrote:

> I wonder if we should just adopt the section name hack for improved compatibility with mingw. We'd give any section which starts with .debug IMAGE_SCN_MEM_DISCARDABLE


Maybe we should do both? I don't want to leave MCSectionCOFF with an incomplete .section serialization.


https://reviews.llvm.org/D24582





More information about the llvm-commits mailing list