[Lldb-commits] [PATCH] D27394: Fix expression evaluation inside lambda functions for gcc
Tamas Berghammer via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Dec 4 06:34:40 PST 2016
tberghammer created this revision.
tberghammer added a reviewer: clayborg.
tberghammer added a subscriber: lldb-commits.
Fix expression evaluation inside lambda functions for gcc
gcc emits the artificial struct created for lambda expressions inside a
lexical block what is not understood by clang (it emits them at the
compile unit level). This CL changes the dwarf parsing code to move
types defined inside a lexical block to the first parent what is not a
lexical block to avoid this clang limitation. This will make the
experience between clang and gcc consistent as clang moves these types
out of the lexical blocks before emitting the debug info.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4886 bytes
Desc: not available
More information about the lldb-commits