1*0a6a1f1dSLionel Sambuc //===--- CodeGenOptions.cpp -----------------------------------------------===// 2*0a6a1f1dSLionel Sambuc // 3*0a6a1f1dSLionel Sambuc // The LLVM Compiler Infrastructure 4*0a6a1f1dSLionel Sambuc // 5*0a6a1f1dSLionel Sambuc // This file is distributed under the University of Illinois Open Source 6*0a6a1f1dSLionel Sambuc // License. See LICENSE.TXT for details. 7*0a6a1f1dSLionel Sambuc // 8*0a6a1f1dSLionel Sambuc //===----------------------------------------------------------------------===// 9*0a6a1f1dSLionel Sambuc 10*0a6a1f1dSLionel Sambuc #include "clang/Frontend/CodeGenOptions.h" 11*0a6a1f1dSLionel Sambuc #include <string.h> 12*0a6a1f1dSLionel Sambuc 13*0a6a1f1dSLionel Sambuc namespace clang { 14*0a6a1f1dSLionel Sambuc CodeGenOptions()15*0a6a1f1dSLionel SambucCodeGenOptions::CodeGenOptions() { 16*0a6a1f1dSLionel Sambuc #define CODEGENOPT(Name, Bits, Default) Name = Default; 17*0a6a1f1dSLionel Sambuc #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default); 18*0a6a1f1dSLionel Sambuc #include "clang/Frontend/CodeGenOptions.def" 19*0a6a1f1dSLionel Sambuc 20*0a6a1f1dSLionel Sambuc RelocationModel = "pic"; 21*0a6a1f1dSLionel Sambuc memcpy(CoverageVersion, "402*", 4); 22*0a6a1f1dSLionel Sambuc } 23*0a6a1f1dSLionel Sambuc 24*0a6a1f1dSLionel Sambuc } // end namespace clang 25