[dylan-lang/opendylan] 163b7d: [lldb] Work around missing debug info with LLVM ba...
GitHub <[email protected]>
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <557b01f9c100b_72d3fd5f595729c213dd@hookshot-fe4-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 163b7db9faf0688ab7bc3edc6e4f698d4e6b5887
https://github.com/dylan-lang/opendylan/commit/163b7db9faf0688ab7bc3edc6e4f698d4e6b5887
Author: Bruce Mitchener <[email protected]>
Date: 2015-06-12 (Fri, 12 Jun 2015)
Changed paths:
M tools/lldb/dylan/accessors.py
Log Message:
-----------
[lldb] Work around missing debug info with LLVM backend.
The LLVM backend doesn't (yet) emit debug info for global
variables, so we can't use FindFirstGlobalVariable as we
have been.
This patch fixes the common issue with this with booleans
which was breaking the debug scripts.
* tools/lldb/dylan/accessors.py
(dylan_boolean_value): Simplify to use dylan_is_false().
(dylan_is_false): Rewrite to look up the address for the
value and see if the symbol name for that address is
'KPfalseVKi'.
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter