Commit f9cedb6
[vm/ffi] Fix source information in generated AST nodes
Fixes: flutter/flutter#39916
Fix verified by manually generating the assembly snapshot and seeing the offending DWARF output be fixed.
Old DWARF:
```
.string "" // Empty filename in file table.
.uleb128 0
.uleb128 0
.uleb128 0
```
New DWARF:
```
.string "dart:ffi/struct.dart"
.uleb128 0
.uleb128 0
.uleb128 0
```
Change-Id: I60b6ff349deb70148c1a475b242c99e7c582d8c4
Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126650
Commit-Queue: Daco Harkes <[email protected]>
Auto-Submit: Daco Harkes <[email protected]>
Reviewed-by: Martin Kustermann <[email protected]>1 parent 4d95ec1 commit f9cedb6
File tree
3 files changed
+8
-3
lines changed- pkg
- front_end/testcases/general
- vm/lib/transformations
- runtime/vm
3 files changed
+8
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| |||
378 | 380 | | |
379 | 381 | | |
380 | 382 | | |
381 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
382 | 386 | | |
383 | 387 | | |
384 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
| |||
0 commit comments