Bug 21159 – DWARF: DW_AT_pure should be emitted for pure functions

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2020-08-13T15:42:04Z
Last change time
2020-08-26T01:00:34Z
Keywords
pull
Assigned to
No Owner
Creator
LucienPe

Comments

Comment #0 by lucien.perregaux — 2020-08-13T15:42:04Z
This will enable the debugger to issue a warning if impure functions are invoked from the debugger.
Comment #1 by dlang-bot — 2020-08-24T20:42:01Z
@Luhrel created dlang/dmd pull request #11616 "Fix Issue 21159 - DWARF: DW_AT_pure should be emitted for pure functions" fixing this issue: - Fix Issue 21159 - DWARF: DW_AT_pure should be emitted for pure functions https://github.com/dlang/dmd/pull/11616
Comment #2 by dlang-bot — 2020-08-26T01:00:34Z
dlang/dmd pull request #11616 "Fix Issue 21159 - DWARF: DW_AT_pure should be emitted for pure functions" was merged into master: - 2e98680101ebe19cf30c7d1990dd17e935bab292 by Luhrel: Fix Issue 21159 - DWARF: DW_AT_pure should be emitted for pure functions https://github.com/dlang/dmd/pull/11616