[PATCH] D75003: [X86] Fix __code_model_*__ predefine names

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 17:06:42 PST 2020


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

LG. The full story:

  // gcc/config/i386/i386-c.c
      case CM_SMALL:
      case CM_SMALL_PIC:
        def_or_undef (parse_in, "__code_model_small__");
        break;
      case CM_MEDIUM:
      case CM_MEDIUM_PIC:
        def_or_undef (parse_in, "__code_model_medium__");
        break;
      case CM_LARGE:
      case CM_LARGE_PIC:
        def_or_undef (parse_in, "__code_model_large__");
        break;
      case CM_32:
        def_or_undef (parse_in, "__code_model_32__");
        break;
      case CM_KERNEL:
        def_or_undef (parse_in, "__code_model_kernel__");
        break;


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75003/new/

https://reviews.llvm.org/D75003





More information about the cfe-commits mailing list