Commit Graph

25 Commits

Author SHA1 Message Date
Michael Gottesman
9c982dc97f Disable linux backtrace test since it is failing now to unblock the bots.
rdar://87867848
2022-01-20 22:05:37 -08:00
Jonas Devlieghere
7a128470bd [test] Re-enable linux-fatal-backtrace.swift
This was fixed by #33235

rdar://66389949
2020-09-23 18:58:23 -07:00
Rintaro Ishizaki
f6b528e708 [Tests] Disable Runtime/linux-fatal-backtrace.swift
rdar://problem/66283479
2020-07-30 20:05:02 -07:00
tbkka
1e5591635c [Python3] Use correct Python version for LLDB-related tests (#33181)
* Use the correct Python executable to match LLDB

The linux-fatal-backtrace script needs to run with an LLDB
module loaded into Python.  This in turn requires that the
test be run with the exact same Python version as was used
by LLDB (not just the same Python module directory).  This
can get confused on systems with multiple versions of Python
installed.

This replaces `lldb-python-path` (the Python module directory path)
with `lldb-python` (which is the correct Python version run with
the LLDB path).  This should ensure that this test is always
run with the same Python version and module that LLDB used.

* Use consistent braces for the lldb-python substitution

* Use os.path utilities to dissect paths

* Allow `python3` as a path identifier

Previous code required a decimal point before it would
recognize a path component as a Python version identifier,
so it would accept `python2.7` but not `python3`.
2020-07-30 14:12:40 -07:00
Jonas Devlieghere
3bbc99ea47 Revert "tests: temporarily disable Runtime/linux-fatal-backtrace.swift"
This reverts commit aed0d91fc9.
2020-05-28 11:51:02 -07:00
Erik Eckstein
aed0d91fc9 tests: temporarily disable Runtime/linux-fatal-backtrace.swift
It's blocking linux PR testing

rdar://problem/63666780
2020-05-27 10:55:47 +02:00
Jonas Devlieghere
21327e79d9 [test] Fix LLDB Python Path and re-enable linux-fatal-backtrace.swift 2020-02-10 16:17:04 -08:00
Mishal Shah
7952f051a3 Disable linux-fatal-backtrace.swift (59328972) 2020-02-10 15:44:31 -08:00
Lei Zhang
f04de1d4d3 Disable 4 tests on s390x 2019-09-20 19:48:33 +00:00
Mike Ash
7f4f5734d2 [Test] Upgrade the all backtrace tests to use not.py and %target-run.
rdar://problem/50863395
2019-05-20 13:10:26 -04:00
sarveshtamba
44575a3ac5 Update linux-fatal-backtrace.swift 2019-03-28 11:17:52 +05:30
Saleem Abdulrasool
b1deb97344 test: explicitly indicate interpreter for utils
This fixes the last couple of instances of the interpreter not being
passed to the python the scripts which makes them fail on OSes where
shebangs are not honoured (i.e. Windows)
2019-02-05 10:25:36 -08:00
sarveshtamba
7cb42b740c Changes for #SR-9413:Swift 5.0 test failures on PowerPC #21541 2019-01-16 11:05:02 +00:00
sarveshtamba
56318f3e1f Changes for #SR-9413:Swift 5.0 test failures on PowerPC 2018-12-24 11:37:38 +00:00
Bob Wilson
824bc82660 Reenable Runtime/linux-fatal-backtrace.swift test
This test broke when we switched to the swift-4.2-branch of Clang/LLVM.
It seems to be a problem with LLDB's CreateTargetWithFileAndArch() API
(rdar://problem/39960149). In the meantime, since this script does not
really need to specify the architecture, we can work around the problem
by using CreateTarget(). That's simpler anyway.

rdar://problem/38181372
2018-05-03 16:59:45 -07:00
swift-ci
f8155903a1 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-06 18:58:20 -08:00
Saleem Abdulrasool
b67d5f0cf7 test: convert rm -rf && mkdir -p into %empty-directory
This converts the instances of the pattern for which we have a proper
substitution in lit.  This will make it easier to replace it
appropriately with Windows equivalents.
2018-03-06 14:30:54 -08:00
Mishal Shah
4b95efeb5e Disable Runtime/linux-fatal-backtrace.swift due to <rdar://problem/38181372> 2018-03-06 10:22:04 -08:00
Bob Wilson
00e6bb8690 Reenable Runtime/linux-fatal-backtrace.swift test
The best guess so far is that the failure that caused the test to be
disabled was a consequence of not running a clean build to regenerate
the lit.site.cfg file so that the "REQUIRES: lldb" check gave the wrong
answer. rdar://problem/33718631
2017-11-14 11:33:22 -08:00
Bob Wilson
e031bad588 Temporarily disable linux-fatal-backtrace.swift.
This test is failing and blocking PR testing for Linux. I am disabling it
while we sort out the problem.
2017-08-04 07:02:12 -07:00
Kuba (Brecka) Mracek
150696f8f6 On Linux, make swift_reportError always print backtraces (#10638)
On Linux, make swift_reportError always print backtraces.
2017-06-27 21:53:55 -07:00
Kuba (Brecka) Mracek
fc7dbefcf8 Revert backtrace ban and start printing backtraces from the runtime again (#9528)
* Revert "[strip -ST] Disable runtime stack trace dumping on Darwin when asserts are disabled."
This reverts commit 6bc28ff1c9.
* Bring back important fixes from the revert of 6bc28ff1c9.
* Change swift::swift_reportError to only print the backtrace in assert builds (swift::warning prints backtrace always).
2017-05-12 15:46:35 -07:00
Michael Gottesman
6bc28ff1c9 [strip -ST] Disable runtime stack trace dumping on Darwin when asserts are disabled.
This commit disables runtime stack trace dumping via dladdr on Darwin when
asserts are disabled.

This stack trace dumping was added as a way to improve the ability to debug the
compiler for compiler developers. This is all well and good but having such a
feature always enabled prevents us from reducing the size of the swift standard
library by eliminating the swift nlist.

rdar://31372220
2017-05-04 16:46:26 -06:00
Arnold Schwaighofer
f1c2dcf1fa Add an alloc_stack hoisting pass.
Hoist alloc_stack instructions of 'generic' or resilient type to the entry
block. At the same time also perform a very simple stack coloring analysis.
This does not use a true liveness-analysis yet but rather employs some simple
conservative checks to see whether the live ranges of two alloc_stacks might
interfere.

AllocStackHoisting is an IRGen SIL pass. This allows for using IRGen's type
lowering information. Furthermore, hoisting and merging the alloc_stack
instructions this late does not interfere with SIL optimizations because the
resulting SIL never gets serialized.
2016-12-20 07:51:55 -08:00
Grzegorz Miłoś
d10146592d Review comments. Round 5. Integration test for symbolicate-linux-fatal. 2016-09-08 15:01:25 +01:00