|--- |FIXED
--- Comment #11 from Dlang Bot ---
dlang/dmd pull request #13640 "fix Issue 22590 - importC: static functions have
no debug information…" was merged into master:
- 821f18e58041ab949c5be086ab2f9b5f99cd4c9a by Walter Bright:
fix Issue 22590 - importC: static func
---
@WalterBright created dlang/dmd pull request #13640 "fix Issue 22590 - importC:
static functions have no debug information…" fixing this issue:
- fix Issue 22590 - importC: static functions have no debug information
generated for them
https://github.com/dlang/dmd/pull/13640
--
https://issues.dlang.org/show_bug.cgi?id=22590
--- Comment #9 from Iain Buclaw ---
(In reply to Walter Bright from comment #8)
> > two functions, main and test_static
>
> It's always nice to not make me guess what the functions are. I ask because
> too many times I've guessed at what the
https://issues.dlang.org/show_bug.cgi?id=22590
--- Comment #8 from Walter Bright ---
> two functions, main and test_static
It's always nice to not make me guess what the functions are. I ask because too
many times I've guessed at what the problem code was, and could not duplicate
the problem
https://issues.dlang.org/show_bug.cgi?id=22590
--- Comment #7 from Iain Buclaw ---
@Walter this looks like it might possibly be the culprit.
https://github.com/dlang/dmd/blob/1c66d4303d298136a27b0ce4acd1f20ea31fe124/src/dmd/backend/dwarfdbginf.d#L1600-L1602
---
if (config.objfmt == OBJ_ELF)
https://issues.dlang.org/show_bug.cgi?id=22590
--- Comment #6 from Iain Buclaw ---
Looks like `.debug_line` information isn't being emitted for static functions.
Without `static` (two functions, main and test_static):
---
Line Number Statements:
[0x0029] Extended opcode 2: set Address
https://issues.dlang.org/show_bug.cgi?id=22590
--- Comment #5 from Iain Buclaw ---
What might be useful is to debug gdb here to determine at what point does gdb
give up attempting to read the debug information for the function.
- Is it DW_AT_MIPS_linkage_name that throws it off?
- Is it because
https://issues.dlang.org/show_bug.cgi?id=22590
Iain Buclaw changed:
What|Removed |Added
Status|REOPENED|NEW
--- Comment #4 from Iain Buclaw ---
(In
https://issues.dlang.org/show_bug.cgi?id=22590
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #3
https://issues.dlang.org/show_bug.cgi?id=22590
Iain Buclaw changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|DUPLICATE
https://issues.dlang.org/show_bug.cgi?id=22590
Iain Buclaw changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=22590
Iain Buclaw changed:
What|Removed |Added
Keywords||DebugInfo, ImportC,
|
12 matches
Mail list logo