Commit 4e6cb28
[DebugInfo] Fix bug in multi-entry procedures
When the compiler generates debuginfo for a procedure, it does not consider
that if is an ENTRY statement, the number of arguments will increase
by one. We can fix this problem by using the new number of arguments as
returned by the process_ll_abi_func_ftn_mod function.1 parent 175d66c commit 4e6cb28
File tree
4 files changed
+60
-8
lines changed- test/debug_info
- tools/flang2/flang2exe
4 files changed
+60
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
1613 | 1614 | | |
1614 | 1615 | | |
1615 | 1616 | | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | | - | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
1620 | 1621 | | |
| 1622 | + | |
1621 | 1623 | | |
1622 | 1624 | | |
1623 | 1625 | | |
| |||
14574 | 14576 | | |
14575 | 14577 | | |
14576 | 14578 | | |
| 14579 | + | |
| 14580 | + | |
| 14581 | + | |
| 14582 | + | |
| 14583 | + | |
| 14584 | + | |
| 14585 | + | |
| 14586 | + | |
| 14587 | + | |
| 14588 | + | |
| 14589 | + | |
| 14590 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
306 | 308 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3253 | 3253 | | |
3254 | 3254 | | |
3255 | 3255 | | |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
3256 | 3261 | | |
3257 | 3262 | | |
3258 | 3263 | | |
3259 | | - | |
| 3264 | + | |
3260 | 3265 | | |
3261 | 3266 | | |
3262 | 3267 | | |
| |||
3317 | 3322 | | |
3318 | 3323 | | |
3319 | 3324 | | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
3320 | 3330 | | |
3321 | 3331 | | |
3322 | 3332 | | |
3323 | | - | |
| 3333 | + | |
3324 | 3334 | | |
3325 | 3335 | | |
3326 | 3336 | | |
| |||
3975 | 3985 | | |
3976 | 3986 | | |
3977 | 3987 | | |
3978 | | - | |
| 3988 | + | |
| 3989 | + | |
| 3990 | + | |
| 3991 | + | |
3979 | 3992 | | |
3980 | 3993 | | |
3981 | 3994 | | |
3982 | 3995 | | |
3983 | | - | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
3984 | 4000 | | |
3985 | 4001 | | |
3986 | 4002 | | |
| |||
0 commit comments