LLVM 24.0.0git
TargetOptionsImpl.cpp
Go to the documentation of this file.
1//===-- TargetOptionsImpl.cpp - Options that apply to all targets ----------==//
2//
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
6//
7//===----------------------------------------------------------------------===//
8//
9// This file implements the methods in the TargetOptions.
10//
11//===----------------------------------------------------------------------===//
12
18using namespace llvm;
19
20/// NOTE: There are targets that still do not support the debug entry values
21/// production and that is being controlled with the SupportsDebugEntryValues.
22/// In addition, SCE debugger does not have the feature implemented, so prefer
23/// not to emit the debug entry values in that case.
24/// The EnableDebugEntryValues can be used for the testing purposes.
unsigned SupportsDebugEntryValues
Set if the target supports the debug entry values by default.
DebuggerKind DebuggerTuning
Which debugger to tune for.
unsigned EnableDebugEntryValues
When set to true, the EnableDebugEntryValues option forces production of debug entry values even if t...
LLVM_ABI bool ShouldEmitDebugEntryValues() const
NOTE: There are targets that still do not support the debug entry values production.
This is an optimization pass for GlobalISel generic memory operations.
@ SCE
Tune debug info for SCE targets (e.g. PS4).