forked from OSchip/llvm-project
9cdd4df81a
Summary: This adds a set of new directives that describe 32-bit x86 prologues. The directives are limited and do not expose the full complexity of codeview FPO data. They are merely a convenience for the compiler to generate more readable assembly so we don't need to generate tons of labels in CodeGen. If our prologue emission changes in the future, we can change the set of available directives to suit our needs. These are modelled after the .seh_ directives, which use a different format that interacts with exception handling. The directives are: .cv_fpo_proc _foo .cv_fpo_pushreg ebp/ebx/etc .cv_fpo_setframe ebp/esi/etc .cv_fpo_stackalloc 200 .cv_fpo_endprologue .cv_fpo_endproc .cv_fpo_data _foo I tried to follow the implementation of ARM EHABI CFI directives by sinking most directives out of MCStreamer and into X86TargetStreamer. This helps avoid polluting non-X86 code with WinCOFF specific logic. I used cdb to confirm that this can show locals in parent CSRs in a few cases, most importantly the one where we use ESI as a frame pointer, i.e. the one in http://crbug.com/756153#c28 Once we have cdb integration in debuginfo-tests, we can add integration tests there. Reviewers: majnemer, hans Subscribers: aemerson, mgorny, kristof.beyls, llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D38776 llvm-svn: 315513 |
||
---|---|---|
.. | ||
ARM | ||
alias.s | ||
align-nops.s | ||
bad-expr.s | ||
basic-coff-64.s | ||
basic-coff.s | ||
bigobj.py | ||
bss.s | ||
bss_section.ll | ||
comm-align.s | ||
comm.ll | ||
comm.s | ||
const-gv-with-rel-init.ll | ||
cross-section-relative-err.s | ||
cross-section-relative.ll | ||
cross-section-relative.s | ||
cv-compiler-info.ll | ||
cv-def-range-gap.s | ||
cv-def-range.s | ||
cv-empty-file-table.s | ||
cv-empty-linetable.s | ||
cv-errors.s | ||
cv-fpo-csrs.s | ||
cv-fpo-errors.s | ||
cv-fpo-setframe.s | ||
cv-inline-linetable-infloop.s | ||
cv-inline-linetable-unlikely.s | ||
cv-inline-linetable-unreachable.s | ||
cv-inline-linetable.s | ||
cv-loc-cross-section.s | ||
cv-loc.s | ||
diff.s | ||
directive-section-characteristics.ll | ||
early-dce.s | ||
eh-frame.s | ||
feat00.s | ||
file.s | ||
global_ctors_dtors.ll | ||
initialised-data.ll | ||
invalid-def.s | ||
invalid-endef.s | ||
invalid-scl-range.s | ||
invalid-scl.s | ||
invalid-type-range.s | ||
invalid-type.s | ||
ir-to-imgrel.ll | ||
label-undefined.s | ||
linker-options.ll | ||
linkonce-invalid.s | ||
linkonce.s | ||
lit.local.cfg | ||
lset0.s | ||
module-asm.ll | ||
offset.s | ||
pr23025.s | ||
pr28462.s | ||
rdata.ll | ||
relax-reloc.s | ||
relocation-imgrel.s | ||
safeseh.s | ||
secidx.s | ||
secrel-variant.s | ||
secrel32-undef.s | ||
secrel32.s | ||
section-comdat-conflict.s | ||
section-comdat-conflict2.s | ||
section-comdat.s | ||
section-invalid-flags.s | ||
section-name-encoding.s | ||
section-passthru-flags.s | ||
section.s | ||
seh-align1.s | ||
seh-align2.s | ||
seh-align3.s | ||
seh-linkonce.s | ||
seh-section-2.s | ||
seh-section.s | ||
seh-stackalloc-zero.s | ||
seh.s | ||
simple-fixups.s | ||
stdin.s | ||
switch-relocations.ll | ||
symbol-alias.s | ||
symbol-fragment-offset-64.s | ||
symbol-fragment-offset.s | ||
symbol-mangling.ll | ||
temporary-alias.s | ||
timestamp.s | ||
tricky-names.ll | ||
weak-alias-local.s | ||
weak-val.s | ||
weak.s |