1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/test/DebugInfo
David Majnemer 93803262f4 [X86] Add intrinsics for reading and writing to the flags register
LLVM's targets need to know if stack pointer adjustments occur after the
prologue.  This is needed to correctly determine if the red-zone is
appropriate to use or if a frame pointer is required.

Normally, LLVM can figure this out very precisely by reasoning about the
contents of the MachineFunction.  There is an interesting corner case:
inline assembly.

The vast majority of inline assembly which will perform a push or pop is
done so to pair up with pushf or popf as appropriate.  Unfortunately,
this inline assembly doesn't mark the stack pointer as clobbered
because, well, it isn't.  The stack pointer is decremented and then
immediately incremented.  Because of this, LLVM was changed in r256456
to conservatively assume that inline assembly contain a sequence of
stack operations.  This is unfortunate because the vast majority of
inline assembly will not end up manipulating the stack pointer in any
way at all.

Instead, let's provide a more principled solution: an intrinsic.
FWIW, other compilers (MSVC and GCC among them) also provide this
functionality as an intrinsic.

llvm-svn: 256685
2016-01-01 06:50:01 +00:00
..
AArch64 Clean up the processing of dbg.value in various places 2015-12-19 02:02:44 +00:00
ARM Update DebugInfo tests for the change in DEBUG_VALUE output in r253338. 2015-11-17 16:15:11 +00:00
COFF [X86] Add intrinsics for reading and writing to the flags register 2016-01-01 06:50:01 +00:00
Generic Move llvm/test/DebugInfo/Generic/safestack-byval.ll to X86. It depends on x86-64. 2015-12-01 10:07:37 +00:00
Inputs dwarfdump: Use the index to find the right abbrev offset in DWP files 2015-11-17 00:39:55 +00:00
Mips Clean up the processing of dbg.value in various places 2015-12-19 02:02:44 +00:00
MIR Recommit LiveDebugValues pass after fixing a couple of minor issues. 2015-12-16 11:09:48 +00:00
PDB s/NumFiles/NumStreams/ 2015-10-15 01:39:00 +00:00
PowerPC DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
Sparc DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
SystemZ DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
X86 Fix PR24563 (LiveDebugVariables unconditionally propagates all DBG_VALUEs) 2015-12-21 20:03:00 +00:00
arm-relocs.test
debuglineinfo-macho.test
debuglineinfo.test
debugmacinfo.test dwarfdump: Added macro support to llvm-dwarfdump tool. 2015-11-12 09:38:54 +00:00
dwarfdump-64-bit-dwarf.test
dwarfdump-accel.test Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI 2015-08-10 19:01:27 +00:00
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test [dwarfdump] Ignore scattered relocations for mach-o. 2015-07-31 20:22:50 +00:00
dwarfdump-dwp.test dwarfdump: Correctly indentify the indicies for DWP records 2015-12-03 18:41:59 +00:00
dwarfdump-invalid.test
dwarfdump-line-dwo.test
dwarfdump-macho-relocs.test [dwarfdump] Do not apply relocations in mach-o files if there is no LoadedObjectInfo. 2015-08-23 04:44:21 +00:00
dwarfdump-macho-universal.test Don't use test inputs from other directories. 2015-08-03 11:59:45 +00:00
dwarfdump-objc.test
dwarfdump-pubnames.test
dwarfdump-ranges.test
dwarfdump-type-units.test
dwarfdump-zlib.test
dwo.ll Add REQUIRES: default_triple to these testcases. 2015-09-24 00:35:14 +00:00
llvm-symbolizer-zlib.test
llvm-symbolizer.test Fix the test case for Windows. 2015-11-04 01:09:37 +00:00
member-pointers.o
missing-abstract-variable.o
skeletoncu.ll [Hexagon] XFAILing test while diagnosing backend error. 2015-10-01 22:14:05 +00:00