1e5dd7070Spatrick //===--- CodeGenOptions.cpp -----------------------------------------------===// 2e5dd7070Spatrick // 3e5dd7070Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4e5dd7070Spatrick // See https://llvm.org/LICENSE.txt for license information. 5e5dd7070Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6e5dd7070Spatrick // 7e5dd7070Spatrick //===----------------------------------------------------------------------===// 8e5dd7070Spatrick 9e5dd7070Spatrick #include "clang/Basic/CodeGenOptions.h" 10e5dd7070Spatrick #include <string.h> 11e5dd7070Spatrick 12e5dd7070Spatrick namespace clang { 13e5dd7070Spatrick CodeGenOptions()14e5dd7070SpatrickCodeGenOptions::CodeGenOptions() { 15e5dd7070Spatrick #define CODEGENOPT(Name, Bits, Default) Name = Default; 16e5dd7070Spatrick #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default); 17e5dd7070Spatrick #include "clang/Basic/CodeGenOptions.def" 18e5dd7070Spatrick 19e5dd7070Spatrick RelocationModel = llvm::Reloc::PIC_; 20*ec727ea7Spatrick memcpy(CoverageVersion, "408*", 4); 21e5dd7070Spatrick } 22e5dd7070Spatrick 23e5dd7070Spatrick } // end namespace clang 24