Commit Graph

5 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
Adrian Prantl
21f2c3d35b Bring the Swift frontend's handling of DIFiles in synch with CFE.
This applies the same changes from Clang CFE r349065 to the Swift
frontend to unify how filenames, cmpilation directories and absolute
paths in filenames and path remappings are handled.
2019-02-06 09:00:32 -08: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
Bob Wilson
151bf658f3 [master-next] fix DebugInfo/ImportsStdlib.swift test to match LLVM r325970
The LLVM change happened a while ago, but this is new test in Swift that
needs adjustment to work with the newer version of LLVM.
2018-06-15 23:21:12 -07:00
Jordan Rose
7938272c42 [DebugInfo] Don't record that the standard library imports itself (#17226)
This causes problems for cross-compilation -parse-stdlib tests that
emit debug info. At the moment we have zero of those, but we're
trying to add one.

Also, don't try to load new modules when recording imports. (This
isn't harmful, just inefficient.)
2018-06-15 08:23:11 -07:00