28 jun 2009 kl. 00.36 skrev Bill Wendling: > Author: void > Date: Sun Jun 28 02:36:13 2009 > New Revision: 74405 > > URL: http://llvm.org/viewvc/llvm-project?rev=74405&view=rev > Log: > Add stack protector support to clang. This generates the 'ssp' and > 'sspreq' > function attributes. There are predefined macros that are defined > when stack > protectors are used: __SSP__=1 with -fstack-protector and > __SSP_ALL__=2 with > -fstack-protector-all. >
Nice! > > unsigned OpenCL : 1; // OpenCL C99 language extensions. > > + unsigned StackProtector : 2; // Whether stack protectors are on: > + // 0 - None > + // 1 - On > + // 2 - All > I know that the bitfield can't be an enum because of MSVC, but could you add getters and setters with an enum instead? (Like getGCMode/ setGCMode) Anders _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
