Saleem Abdulrasool
ff4f234333
DebugInfo: loosen producer pattern
...
Be more accepting of vendor patterns. Any name can be added by
configuration, so loosen the test.
2019-10-11 22:06:53 -07:00
Saleem Abdulrasool
179be5cb4e
DebugInfo: account for quoting on Windows
...
Windows will quote the temporary path. Account for it in the test.
2019-03-25 19:29:39 -07:00
Saleem Abdulrasool
6fa9000790
Frontend: compare normalised absolute paths for temp
...
The LLVM API for the temporary paths behaves differently on Windows and Unix.
Windows always returns the absolute path, and on Unix, you get whatever is in
the environment. Furthermore, windows allows both `\` and `/` as separators.
Normalise the path and make it absolute before doing the comparision to get a
comparable string.
2019-02-05 17:38:46 -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
Tony Allevato
0acc73ae4c
Update flag name to -debug-info-store-invocation.
2018-06-12 18:32:35 -07:00
Tony Allevato
22ac700154
Make DWARF debug flag behavior match Clang.
...
Only write the compilation flags to debug info for Mach-O targets, and only
if the RC_DEBUG_OPTIONS environment variable is set.
2018-06-09 20:05:06 -07:00
Adrian Prantl
1203896b03
Factor out the test for the .apple_names section and disable it on Linux.
...
This is in reaction to LLVM r322633.
2018-02-28 13:17:08 -08:00
Erik Eckstein
17d4459227
debug-info: Don't write temporary file names in the debug info.
...
This would prevent incremental llvm compilation because we would generate different IR on every compiler invocation.
2018-02-01 12:15:36 -08:00
Janosch Hildebrand
b889e7e83b
[IRGen] Request LLDB specific tuning for all targets. ( #5971 )
...
Previously the default was used, implying LLDB specific tuning only for Darwin targets.
2017-01-11 10:15:33 -08:00