2017-02-10 09:33:54 +08:00
|
|
|
//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
|
2014-04-23 19:16:03 +08:00
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-04-23 19:16:03 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCTargetOptions.h"
|
2017-06-06 19:49:48 +08:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2014-04-23 19:16:03 +08:00
|
|
|
|
2017-02-10 09:33:54 +08:00
|
|
|
using namespace llvm;
|
2014-04-23 19:16:03 +08:00
|
|
|
|
2014-05-15 09:08:00 +08:00
|
|
|
MCTargetOptions::MCTargetOptions()
|
Remove ASan asm instrumentation.
Summary: It is incomplete and has no users AFAIK.
Reviewers: pcc, vitalybuka
Subscribers: srhines, kubamracek, mgorny, krytarowski, eraman, hiraditya, jdoerfert, #sanitizers, llvm-commits, thakis
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D59154
llvm-svn: 355870
2019-03-12 05:50:10 +08:00
|
|
|
: MCRelaxAll(false), MCNoExecStack(false), MCFatalWarnings(false),
|
|
|
|
MCNoWarn(false), MCNoDeprecatedWarn(false), MCSaveTempLabels(false),
|
|
|
|
MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
|
|
|
|
MCPIECopyRelocations(false), ShowMCEncoding(false), ShowMCInst(false),
|
|
|
|
AsmVerbose(false), PreserveAsmComments(true) {}
|
2015-01-14 08:50:31 +08:00
|
|
|
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
|
|
return ABIName;
|
|
|
|
}
|