Files
compiler-explorer/lib
Matt GodboltandRabsRincon d52a1318f8 Treat data definitions in the middle of functions as "strong" (#2792)
* Treat data definitions in the middle of functions as "strong"

Things like ARM jump tables put important data inline within a function. Such
data should be treated as a "strong" reference (e.g. a root use). For example:

```
        sub     r3, r0, #65
        cmp     r3, #19
        ldrls   pc, [pc, r3, asl #2]
        b       .L7
        .word   .L8
        .word   .L7
        .word   .L6
        .word   .L7
        ....etc...
.L7: some things
.L8: some other things
```

Without this change, the `.L8` label would be dropped as unused. But it's implicitly used
by the sequence of `.word`s in the middle of the function.

Closes #2788

* Keep curly bracket style of existing if-else block

Co-authored-by: RabsRincon <ruben@rinconblanco.es>
2021-07-22 14:12:54 -05:00
..
2021-07-19 22:56:45 -05:00
2021-05-28 18:08:05 -05:00
2021-05-28 18:08:05 -05:00
2021-05-28 18:08:05 -05:00
2021-05-28 18:08:05 -05:00
2020-09-26 16:59:26 -04:00
2021-03-31 00:12:09 +02:00
2021-05-28 18:08:05 -05:00
2021-05-28 18:08:05 -05:00
2021-05-27 23:19:32 -05:00
2020-09-26 16:59:26 -04:00
2021-05-28 18:08:05 -05:00
2020-09-26 16:59:26 -04:00
2021-03-14 12:39:55 -05:00
2021-05-27 23:19:32 -05:00
2021-05-28 18:08:05 -05:00
2021-03-18 15:51:35 +01:00
2020-09-26 16:59:26 -04:00
2020-09-26 16:59:26 -04:00
2020-09-26 16:59:26 -04:00
2020-09-26 16:59:26 -04:00
2021-05-27 23:19:32 -05:00
2021-05-28 18:08:05 -05:00
2020-09-26 16:59:26 -04:00
2020-09-26 16:59:26 -04:00
2021-05-28 18:08:05 -05:00
2020-09-26 16:59:26 -04:00