Alexey Samsonov | e106102 | 2014-11-11 00:22:12 +0000 | [diff] [blame] | 1 | //===--- CodeGenOptions.cpp -----------------------------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
Alexey Samsonov | e106102 | 2014-11-11 00:22:12 +0000 | [diff] [blame] | 10 | #include "clang/Frontend/CodeGenOptions.h" |
Chandler Carruth | 0d9593d | 2015-01-14 11:29:14 +0000 | [diff] [blame] | 11 | #include <string.h> |
Alexey Samsonov | e106102 | 2014-11-11 00:22:12 +0000 | [diff] [blame] | 12 | |
| 13 | namespace clang { |
| 14 | |
| 15 | CodeGenOptions::CodeGenOptions() { |
| 16 | #define CODEGENOPT(Name, Bits, Default) Name = Default; |
| 17 | #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default); |
| 18 | #include "clang/Frontend/CodeGenOptions.def" |
| 19 | |
| 20 | RelocationModel = "pic"; |
| 21 | memcpy(CoverageVersion, "402*", 4); |
| 22 | } |
| 23 | |
| 24 | } // end namespace clang |