2017-02-10 01:33:54 +00:00
|
|
|
//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
|
2014-04-23 11:16:03 +00:00
|
|
|
//
|
2019-01-19 08:50:56 +00: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 11:16:03 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCTargetOptions.h"
|
2017-06-06 11:49:48 +00:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2014-04-23 11:16:03 +00:00
|
|
|
|
2017-02-10 01:33:54 +00:00
|
|
|
using namespace llvm;
|
2014-04-23 11:16:03 +00:00
|
|
|
|
2014-05-15 01:08:00 +00: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-11 21:50:10 +00:00
|
|
|
: MCRelaxAll(false), MCNoExecStack(false), MCFatalWarnings(false),
|
|
|
|
MCNoWarn(false), MCNoDeprecatedWarn(false), MCSaveTempLabels(false),
|
|
|
|
MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
|
2020-01-01 00:15:28 -08:00
|
|
|
ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
|
|
|
|
PreserveAsmComments(true) {}
|
2015-01-14 00:50:31 +00:00
|
|
|
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
|
|
return ABIName;
|
|
|
|
}
|