Felipe de Azevedo Piovezan
a321b0afe0
[DebugInfo] Update tests to expect new LLVM debug format
2024-07-23 11:06:12 -07:00
Felipe de Azevedo Piovezan
1ed9df0a0c
[DebugInfo] Update tests to use opaque ptrs
2023-06-16 15:05:44 -04:00
Arnold Schwaighofer
c1a93e0bde
Move tests over to use the %use_no_opaque_pointers option
2023-06-14 10:49:48 -07:00
Meghana Gupta
163d47ec90
Revert "Revert #33106 and #33205 " ( #34106 )
2020-09-28 23:08:14 -07:00
Meghana Gupta
77a76a8422
Revert "Merge pull request #33205 from meg-gupta/ometofunctionpass"
...
This reverts commit 8dbac48c18 , reversing
changes made to c22ba90700 .
2020-09-25 11:49:52 -07:00
Meghana Gupta
f5baf7a8f1
Update CHECK lines in tests after moving ossa to a function pass
2020-09-24 14:38:07 -07:00
Bob Wilson
e4cc933f70
master-next: adjust test output for change in LLVM block syntax
...
LLVM r356789 changed the format of textual IR to print nameless
blocks with labels instead of comments with "; <label>". Adjust Swift
tests to match. I also updated the utils/viewcfg script to match.
2019-03-29 18:19:26 -07:00
Adrian Prantl
9cb0b8ef25
Zero-initialize -Onone debug shadow copies for exploded values
...
and simplify the initialization code by emitting a memset intrinsic.
rdar://problem/43566087
2018-09-14 17:20:11 -07:00
Arnold Schwaighofer
b57a2dc859
Fix test case test/DebugInfo/dbgvalue-insertpt.swift for unoptimized builds
...
rdar://33753333
2017-08-07 09:44:03 -07:00
Arnold Schwaighofer
f442dd93bd
CompilerInvocation: If no optimization flag is set default to Onone
...
I noticed in a follow-up patch that if you just swiftc without passing Onone
these flags are not set and sometimes happen to default to right thing ... or
not; as can be seen by the test cases modified. For example, at Onone we are
supposed to include an extra swift module "SwiftOnoneSupport".
2017-08-04 11:49:16 -07:00
Adrian Prantl
84d9238315
Emit llvm.dbg.declare intrisics immediately after the described alloca.
...
This cleanup change doesn't change the semantics, but it makes the
resulting IR much easier to read and debug.
2017-05-24 09:13:41 -07:00
Adrian Prantl
0b2b0c036c
Revert "Emit llvm.dbg.declare intrisics immediately after the described alloca."
...
This reverts commit 8660fd489a .
2017-05-23 11:42:13 -07:00
Adrian Prantl
8660fd489a
Emit llvm.dbg.declare intrisics immediately after the described alloca.
...
This cleanup change doesn't change the semantics, but it makes the
resulting IR much easier to read and debug.
2017-05-23 09:23:41 -07:00
Michael Gottesman
bf8d941103
[silgen] Change foreach loop emission to use the new SwitchEnumBuilder.
...
rdar://29791263
2017-03-07 22:13:22 -08:00
Erik Eckstein
8e3b05d2f4
IRGen: Use new mangling for llvm type names.
...
This should have no effect on the generated binary.
2017-02-22 09:19:10 -08:00
Adrian Prantl
fa28b5e16b
Debug Info: Insert dbg.value intrinsics immediately after the instruction
...
they describe.
This improves the live ranges of local variables during debugging.
<rdar://problem/26627376>
2016-09-23 10:14:56 -07:00