[PATCH] Add module flags metadata to record the settings for enum and wchar width

Oliver Stannard oliver.stannard at arm.com
Thu Jun 19 09:49:12 PDT 2014


> This code will force anyone not using the -f flags to have long enums and wchars. Is that true for *all* ARM architectures and instruction sets? The ABI document wasn't clear about this.

I'm not sure I understand. The clang defaults on all of the architectures I tried are long enums and long wchar, so anyone not using the -f flags already has long enums and wchars. This just adds the build attributes, so that anyone using a linker which understands build attributes will not accidentally use the wrong libraries.

http://reviews.llvm.org/D4212






More information about the cfe-commits mailing list