Commit Graph

3 Commits

Author SHA1 Message Date
Mishal Shah
92ca9fc924 [Apple Silicon] Generalize tests for other macOS architectures
Most of the changes fall into a few categories:
* Replace explicit "x86_64" with %target-cpu in lit tests
* Cope with architecture differences in IR/asm/etc. macOS-specific tests
2020-07-02 16:27:46 -07:00
Erik Eckstein
11dd3e1885 tests: Make the test for lazy metadata emission a bit more complex
To verify that we don't emit metadata for unused types in non-trivial scenarios.

Test for rdar://problem/52059864
2019-07-18 14:13:40 +02:00
Erik Eckstein
321d340331 Driver: Don't imply -enable-anonymous-context-mangled-names with optimizations enabled, even if -g is used.
The option -enable-anonymous-context-mangled-names prevents stripping of dead metadata to improve debuggability.
But with optimizations enabled, we do a lot of dead code stripping which affects debuggability anyway.

rdar://problem/48123944
2019-07-17 12:10:16 +02:00