Commit Graph

8 Commits

Author SHA1 Message Date
Vedant Kumar
a83bfabc8b [DebugInfo] Stop relying on asm gadgets to extend variable ranges (#29029)
The 'fake use' asm gadget does not always keep variables alive. E.g., in
rdar://57754659, llvm was unable to preserve two local variables despite
the use of these gadgets. These variables were backed by a LoadInst and
an ExtractValueInst respectively. Instead of emitting shadow copies for
just those kinds of instructions, use shadow copies exclusively. This
may cause more variables to appear in the debugger window before they
are initialized, but should result in fewer variables being dropped.

rdar://57754659
2020-01-10 16:31:51 -08:00
Ben Cohen
28aa25ec11 Fix a couple of IRGen tests on master-next (#26358)
* objc symbols changed from private to internal

* Update LLVM label syntax
2019-08-20 17:19:24 -07:00
Suyash Srijan
42847a488b [Test] Trim CHECK-LABEL 2019-04-26 16:56:36 +01:00
Suyash Srijan
8bdc916832 [test] Update IRGen test 2019-04-25 22:02:58 +01:00
Suyash Srijan
a1ffae5c10 [test] Update IRGen test with patterns, etc 2019-04-19 20:41:14 +01:00
Suyash Srijan
77b6b1b151 [test] remove -primary-file flag as it's not needed 2019-04-19 01:35:23 +01:00
Suyash Srijan
b0ab515f8f [test] Updates IRGen test file 2019-04-19 00:04:36 +01:00
Suyash Srijan
b67d23642d [test] Adds an IRGen test 2019-04-18 23:32:01 +01:00