xref: /netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/CodeGenOptions.cpp (revision e038c9c4676b0f19b1b7dd08a940c6ed64a6d5ae)
17330f729Sjoerg //===--- CodeGenOptions.cpp -----------------------------------------------===//
27330f729Sjoerg //
37330f729Sjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
47330f729Sjoerg // See https://llvm.org/LICENSE.txt for license information.
57330f729Sjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
67330f729Sjoerg //
77330f729Sjoerg //===----------------------------------------------------------------------===//
87330f729Sjoerg 
97330f729Sjoerg #include "clang/Basic/CodeGenOptions.h"
107330f729Sjoerg #include <string.h>
117330f729Sjoerg 
127330f729Sjoerg namespace clang {
137330f729Sjoerg 
CodeGenOptions()147330f729Sjoerg CodeGenOptions::CodeGenOptions() {
157330f729Sjoerg #define CODEGENOPT(Name, Bits, Default) Name = Default;
167330f729Sjoerg #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
177330f729Sjoerg #include "clang/Basic/CodeGenOptions.def"
187330f729Sjoerg 
197330f729Sjoerg   RelocationModel = llvm::Reloc::PIC_;
20*e038c9c4Sjoerg   memcpy(CoverageVersion, "408*", 4);
217330f729Sjoerg }
227330f729Sjoerg 
237330f729Sjoerg }  // end namespace clang
24