Eugene Zelenko | 4b6ff6b | 2017-02-10 01:33:54 +0000 | [diff] [blame] | 1 | //===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===// |
Evgeniy Stepanov | 0a951b7 | 2014-04-23 11:16:03 +0000 | [diff] [blame] | 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Evgeniy Stepanov | 0a951b7 | 2014-04-23 11:16:03 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #include "llvm/MC/MCTargetOptions.h" |
Chandler Carruth | 6bda14b | 2017-06-06 11:49:48 +0000 | [diff] [blame] | 10 | #include "llvm/ADT/StringRef.h" |
Evgeniy Stepanov | 0a951b7 | 2014-04-23 11:16:03 +0000 | [diff] [blame] | 11 | |
Eugene Zelenko | 4b6ff6b | 2017-02-10 01:33:54 +0000 | [diff] [blame] | 12 | using namespace llvm; |
Evgeniy Stepanov | 0a951b7 | 2014-04-23 11:16:03 +0000 | [diff] [blame] | 13 | |
Eric Christopher | 737e089 | 2014-05-15 01:08:00 +0000 | [diff] [blame] | 14 | MCTargetOptions::MCTargetOptions() |
Evgeniy Stepanov | aedec3f | 2019-03-11 21:50:10 +0000 | [diff] [blame] | 15 | : MCRelaxAll(false), MCNoExecStack(false), MCFatalWarnings(false), |
| 16 | MCNoWarn(false), MCNoDeprecatedWarn(false), MCSaveTempLabels(false), |
| 17 | MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false), |
| 18 | MCPIECopyRelocations(false), ShowMCEncoding(false), ShowMCInst(false), |
| 19 | AsmVerbose(false), PreserveAsmComments(true) {} |
Eric Christopher | 6e30cd9 | 2015-01-14 00:50:31 +0000 | [diff] [blame] | 20 | |
| 21 | StringRef MCTargetOptions::getABIName() const { |
| 22 | return ABIName; |
| 23 | } |