Commit Graph

30 Commits

Author SHA1 Message Date
Dmitri Hrybenko
8beb642dc9 Remove uses of println() from test/DebugInfo/closure-multivalue.swift
Swift SVN r28037
2015-05-01 09:34:32 +00:00
Dmitri Hrybenko
155fa0a425 Speculatively revert my change to test/DebugInfo/closure-multivalue.swift
Apparently it broke the test when the standard library is built with
debug info.

Swift SVN r28036
2015-05-01 08:47:02 +00:00
Dmitri Hrybenko
0fce5c7b4e tests: remove uses of println() that are not relevant to the tests
Swift SVN r28016
2015-05-01 03:35:50 +00:00
Duncan Exon Smith
c6d42db070 Adapt to MD* => DI* renaming of debug info types
Applied the upgrade script from r236120 (LLVM) and r236121 (CFE).  This is the
final step of rdar://problem/20434113.



Swift SVN r27925
2015-04-29 21:40:21 +00:00
Dmitri Hrybenko
9ed3a4a196 tests: fix a test for 32-bit platforms
Swift SVN r25745
2015-03-04 05:19:21 +00:00
Duncan Exon Smith
093eb3c365 DebugInfo: Hand-update testcases after LLVM r231082
Update debug info testcases after moving the new hierarchy into place in
upstream LLVM r231082.

rdar://problem/19720042



Swift SVN r25715
2015-03-03 19:15:31 +00:00
Adrian Prantl
1d6d890e13 Adapt upstream LLVM API change.
Swift SVN r25109
2015-02-10 00:55:03 +00:00
Adrian Prantl
af349b7548 Re-enable this testcase.
Swift SVN r24909
2015-02-02 23:35:51 +00:00
Dmitri Hrybenko
49ba1c3a39 Revert "Don't hardcode the integer size."
This reverts commit r24887.  The test was failing on 64-bit OS X after
that fix.

Swift SVN r24890
2015-02-02 03:23:40 +00:00
Adrian Prantl
0d2881db78 Don't hardcode the integer size.
Swift SVN r24887
2015-02-01 16:15:12 +00:00
Dmitri Hrybenko
f47ee38fcb Disable the test DebugInfo/closure-multivalue.swift, it has been failing
for a few days already

rdar://19674999

Swift SVN r24878
2015-01-31 10:52:31 +00:00
Adrian Prantl
7fd7d6f25d Tweak testcase to work with release and debug stdlibs.
Swift SVN r24849
2015-01-30 18:17:27 +00:00
Adrian Prantl
88b7262822 Relax testcase.
Swift SVN r24819
2015-01-29 20:02:58 +00:00
Mark Lacey
a842e35810 Reapply "Handle thin_to_thick_function in call graph construction."
Reapply r24765 with small tweak to comment. This was reverted in r24766.

It turns out that this particular change does not interfere with any
assumptions made in the function signature optimization pass.

Swift SVN r24804
2015-01-28 20:21:45 +00:00
Mark Lacey
7ca8777b45 Revert "Handle thin_to_thick_function in call graph construction."
This reverts commit r24765.

There might be an issue with some of the clients of the call graph
making assumptions that this change invalidates.

Swift SVN r24766
2015-01-28 00:51:00 +00:00
Mark Lacey
626082776c Handle thin_to_thick_function in call graph construction.
Swift SVN r24765
2015-01-28 00:37:39 +00:00
Dmitri Hrybenko
3b04d1b013 tests: reorganize tests so that they actually use the target platform
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK.  The driver was defaulting to the
host OS.  Thus, we could not run the tests when the standard library was
not built for OS X.

Swift SVN r24504
2015-01-19 06:52:49 +00:00
Adrian Prantl
1229413d96 Massage this testcase so it works with a debug stdlib, too.
Swift SVN r24458
2015-01-15 22:55:26 +00:00
Adrian Prantl
95eec5a155 Fix Test for: DCE is dropping debug intrinsics, Was: DebugInfo/closure-multivalue test is failing
In order to not completely loose testcoverage while rdar://problem/18709125
is under investiagtion, add a special flag for enabling debug value
liveness.

Patch by Michael Gottesman!

<rdar://problem/19267059>

Swift SVN r24416
2015-01-14 18:37:39 +00:00
Graham Batty
83f27a8af7 Revert "Mark tests that don't pass on linux as XFAIL."
This reverts commit 2711ca86de7bf6a7885ccea24219a48a590b1e95.

Swift SVN r23577
2014-11-24 17:42:13 +00:00
Graham Batty
198402dcfe Mark tests that don't pass on linux as XFAIL.
Swift SVN r23573
2014-11-24 17:40:37 +00:00
Adrian Prantl
d238a3f17b Don't emit line numbers for subprograms that are thunks / bare functions.
<rdar://problem/18670152> Stack trace is a lie

Swift SVN r22854
2014-10-20 23:04:06 +00:00
Adrian Prantl
93b864ff31 Temporarily disable one of this tests RUN lines until
<rdar://problem/18709125> DCE is dropping debug intrinsics, Was: DebugInfo/closure-multivalue test is failing
is resolved.

Swift SVN r22845
2014-10-20 18:10:31 +00:00
Adrian Prantl
ac683e8d3d Make this test a bit more deterministic.
<rdar://problem/18559019> DebugInfo/closure-multivalue.swift failing with recent ToT changes

Swift SVN r22590
2014-10-08 00:40:15 +00:00
Adrian Prantl
204e9ee347 Fix testcase for upstream IR printer change
Swift SVN r22484
2014-10-02 23:02:48 +00:00
Adrian Prantl
d769498ccd Update for upstream LLVM API change.
Swift SVN r22456
2014-10-02 01:33:24 +00:00
Adrian Prantl
10d2e7e2c5 Debug info: Emit a more efficient representation for -O0 shadow copies for
explosions by copying them into a single, aggregate alloca.
This also happens to hide <rdar://problem/17815972> for llvm-600.

Swift SVN r20582
2014-07-26 00:18:16 +00:00
Ted Kremenek
d075f06573 Require a minimum deployment target of iOS 7 or OSX 10.9
Implements <rdar://problem/17532113>

Swift SVN r19451
2014-07-02 06:23:38 +00:00
Dave Abrahams
acc2c3be40 [stdlib] Prepare array sort for value semantics
Sorting was a bit of a mess; we had sort functions doing in-place
mutation /and/ returing the value, and people were confused by the
asymmetry of Array's sort() method with other higher-level methods.

Fixes <rdar://problem/17185815> sort([]T, f) mutates the original array
<rdar://problem/17225190> The Array.sort() method should return a sorted array

Swift SVN r18922
2014-06-16 13:48:43 +00:00
Adrian Prantl
c0b5da0d7f [please update LLVM] Debug info: Support multi-valued explosions, e.g.,
tuples and structs that are passed to a function by value.

<rdar://problem/15928331> Need to support DW_OP_piece for multi-Value variables/arguments
<rdar://problem/16599747> Variables not displayed at all in SwiftDemo02b_Closure (back again)

Swift SVN r17923
2014-05-12 03:31:07 +00:00