[Issue 22590] importC: static functions have no debug information generated for them

2022-02-12 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |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

[Issue 22590] importC: static functions have no debug information generated for them

2022-02-10 Thread d-bugmail--- via Digitalmars-d-bugs
--- @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 --

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
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)

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22590 Iain Buclaw changed: What|Removed |Added Status|REOPENED|NEW --- Comment #4 from Iain Buclaw --- (In

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22590 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #3

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22590 Iain Buclaw changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22590 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 22590] importC: static functions have no debug information generated for them

2021-12-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22590 Iain Buclaw changed: What|Removed |Added Keywords||DebugInfo, ImportC, |