1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib
gbtozers 7cf2776667 [DebugInfo] Add new instruction and DIExpression operator for variadic debug values
This patch adds a new instruction that can represent variadic debug values,
DBG_VALUE_VAR. This patch alone covers the addition of the instruction and a set
of basic code changes in MachineInstr and a few adjacent areas, but does not
correctly handle variadic debug values outside of these areas, nor does it
generate them at any point.

The new instruction is similar to the existing DBG_VALUE instruction, with the
following differences: the operands are in a different order, any number of
values may be used in the instruction following the Variable and Expression
operands (these are referred to in code as “debug operands”) and are indexed
from 0 so that getDebugOperand(X) == getOperand(X+2), and the Expression in a
DBG_VALUE_VAR must use the DW_OP_LLVM_arg operator to pass arguments into the
expression.

The new DW_OP_LLVM_arg operator is only valid in expressions appearing in a
DBG_VALUE_VAR; it takes a single argument and pushes the debug operand at the
index given by the argument onto the Expression stack. For example the
sub-expression `DW_OP_LLVM_arg, 0` has the meaning “Push the debug operand at
index 0 onto the expression stack.”

Differential Revision: https://reviews.llvm.org/D82363
2021-03-04 11:45:35 +00:00
..
Analysis [Analysis] simplify propagation of FMF in recurrences; NFC 2021-03-03 17:28:10 -05:00
AsmParser
BinaryFormat [DebugInfo] Add new instruction and DIExpression operator for variadic debug values 2021-03-04 11:45:35 +00:00
Bitcode
Bitstream
CodeGen [DebugInfo] Add new instruction and DIExpression operator for variadic debug values 2021-03-04 11:45:35 +00:00
DebugInfo [PDB] Fix unsigned integer overflow 2021-02-26 11:26:53 -05:00
Demangle
DWARFLinker [llvm] Add assertions for the smart pointers with the possibility to be null in DWARFLinker::loadClangModule 2021-02-27 10:14:39 +03:00
ExecutionEngine [Orc] Fix MSVC error: conversion from 'initializer list' requires a narrowing 2021-03-02 15:34:36 +01:00
Extensions
FileCheck [FileCheck] Do not skip end of line in diagnostics 2021-03-03 08:20:39 +00:00
Frontend
Fuzzer
FuzzMutate
InterfaceStub
IR [DebugInfo] Add new instruction and DIExpression operator for variadic debug values 2021-03-04 11:45:35 +00:00
IRReader
LineEditor
Linker
LTO [IRSymTab] Set FB_used on llvm.compiler.used symbols 2021-03-03 16:22:30 -08:00
MC [AIX][TLS] Generate TLS variables in assembly files 2021-03-02 18:22:48 -06:00
MCA [MCA] Add support for in-order CPUs 2021-03-04 14:08:19 +03:00
Object [IRSymTab] Set FB_used on llvm.compiler.used symbols 2021-03-03 16:22:30 -08:00
ObjectYAML
Option
Passes
ProfileData [CSSPGO] Introducing dangling pseudo probes. 2021-03-03 22:44:41 -08:00
Remarks
Support Revert "Use the default seed value for djb hash for StringMap" 2021-03-01 14:00:39 +01:00
TableGen
Target [DebugInfo] Add new instruction and DIExpression operator for variadic debug values 2021-03-04 11:45:35 +00:00
Testing
TextAPI [lld-macho] Change loadReexport to handle the case where a TAPI re-exports to reference documents nested within other TBD. 2021-03-02 12:14:31 -05:00
ToolDrivers
Transforms [CSSPGO] Deduplicating dangling pseudo probes. 2021-03-03 22:44:42 -08:00
WindowsManifest
XRay
CMakeLists.txt