Commit Graph

7 Commits

Author SHA1 Message Date
Adrian Prantl
f1d2e8f965 Relax test 2023-08-23 16:32:19 -07:00
Artem Chikin
c5e1b6baa9 Adjust tests to account for presence of implicit import of '_SwiftConcurrencyShims' 2023-01-13 11:20:35 -08:00
Adrian Prantl
10004edf49 Leave skeleton CU breadcrumbs fo imported Clang modules in the debug info.
This allows the debugger to look up Clang-imported type definitions in
the correct module.
2019-01-08 16:57:14 -08:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Adrian Prantl
b9712dbb61 Update testcases for upstream LLVM changes.
rdar://25785066

(cherry picked from commit 01c992ccb2)
(cherry picked from commit 2e2bac1aa8ae389243a9c8cceed3b52683c2bf03)
2016-05-13 22:04:19 -07:00
Adrian Prantl
fa32b72806 Debug Info: Establish a default ordering for compile units.
Because the swift compiler relies on Clang to setup the Module,
the clang CU is always created first.  Several dwarf-reading
tools (older versions of ld64, and lldb) can get confused if the
first CU in an object is empty, so ensure that the Swift CU comes
first by rearranging the list of CUs in the LLVM module.

rdar://problem/23434643
2015-11-06 15:49:44 -08:00
Adrian Prantl
3356f7ac59 Pass the debug info settings through to Clang and ensure that compile units
created by Swift and Clang set the CU's compilation dir similarly.

rdar://problem/22692266

Swift SVN r32637
2015-10-12 22:20:58 +00:00