Commit Graph

7 Commits

Author SHA1 Message Date
Saleem Abdulrasool
440b39a263 test: adjust DebugInfo tests for new LLVM update
The filename on Windows now uses `\\` rather than `\\5C` for the path
separator.  Adjust the tests accordingly.
2020-01-13 15:13:38 -08:00
Saleem Abdulrasool
7514adf66a Driver: introduce new -libc option for Windows
On Windows, there are multiple variants of the C runtime that must be
explicitly specified and consistently used from the runtime to the
application.  The new `-libc` option allows us to control the linking
phase by correctly embedding the requested library to be linked.  It is
made into a required parameter on Windows and will add in the
appropriate flags for the imported C headers as well.  This ensures that
the C library is not incorrectly linked.
2019-05-16 21:01:47 -07:00
Saleem Abdulrasool
1b812a2b12 test: make DebugInfo.debug_prefix_map pass on Windows
The separator that is inserted is the native type, so permit both types
of path separators.
2019-04-04 09:07:46 -07:00
David Goldman
3b2c5a9703 Swap to use %target-swiftc_driver for test 2019-03-29 10:39:43 -04:00
David Goldman
7b3db6f9ef Add test 2019-03-28 15:32:58 -04:00
Saleem Abdulrasool
5175ecd677 test: improve DebugInfo test coverage on Windows
This makes a number of tests now pass on Windows.  One additional test
should also be repaired on Linux (XFAIL -> PASS).
2018-12-16 14:10:46 -08:00
Tony Allevato
78edd30ddf Implement -debug-prefix-map flag.
This flag is based on Clang's -fdebug-prefix-map, which lets the user remap absolute paths in debug info. This is necessary for reproducible builds and allows debugging to work on a different machine than the one that built the code when paths to the source may be different.
2018-07-01 18:22:15 -07:00