mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0cdbf86cb4
Summary: There are two registers encoded in the S_FRAMEPROC flags: one for locals and one for parameters. The encoding is described by the ExpandEncodedBasePointerReg function in cvinfo.h. Two bits are used to indicate one of four possible values: 0: no register - Used when there are no variables. 1: SP / standard - Variables are stored relative to the standard SP for the ISA. 2: FP - Variables are addressed relative to the ISA frame pointer, i.e. EBP on x86. If realignment is required, parameters use this. If a dynamic alloca is used, locals will be EBP relative. 3: Alternative - Variables are stored relative to some alternative third callee-saved register. This is required to address highly aligned locals when there are dynamic stack adjustments. In this case, both the incoming SP saved in the standard FP and the current SP are at some dynamic offset from the locals. LLVM uses ESI in this case, MSVC uses EBX. Most of the changes in this patch are to pass around the CPU so that we can decode these into real, named architectural registers. Subscribers: hiraditya Differential Revision: https://reviews.llvm.org/D51894 llvm-svn: 341999 |
||
---|---|---|
.. | ||
DIA | ||
Inputs | ||
Native | ||
dbi-bytes.test | ||
dump-fpm.test | ||
every-type.test | ||
just-my-code.test | ||
module-bytes.test | ||
module-stats.test | ||
obj-globalhash.test | ||
pdb-invalid-type.test | ||
pdb-longname-truncation.test | ||
pdb-minimal-construct.test | ||
pdb-unknown-symbol.test | ||
pdb-yaml-symbols.test | ||
pdbdump-debug-subsections.test | ||
pdbdump-globals-empty.test | ||
pdbdump-headers.test | ||
pdbdump-merge-ids-and-types.test | ||
pdbdump-mergeids.test | ||
pdbdump-mergetypes.test | ||
pdbdump-objfilename.yaml | ||
pdbdump-raw-blocks.test | ||
pdbdump-raw-bytes.test | ||
pdbdump-raw-stream.test | ||
pdbdump-readwrite.test | ||
pdbdump-source-names.test | ||
pdbdump-write.test | ||
pdbdump-yaml-types.test | ||
pdbdump-yaml.test | ||
section-headers.test | ||
tpi-bytes.test | ||
udt-stats.test | ||
using-namespace.test | ||
write-fpm.test |