[Lldb-commits] [Patch][Please Review] Add support for GNU indirect functions

Kopec, Matt matt.kopec at intel.com
Fri Jan 18 14:33:33 PST 2013

Hi all,

This patch allows indirect functions to work on Linux when evaluating expressions. I'm not sure if this is a feature supported on Mac OS X.

This is needed to support some library functions such as strcat and strlen when used in an expression. If one of these functions are used, the function will run once in the context of the inferior, which after completion, will return the address of the actual implementation of the function.

Some more details on indirect functions if interested: http://www.agner.org/optimize/blog/read.php?i=167

-------------- next part --------------
A non-text attachment was scrubbed...
Name: exprfix.patch
Type: text/x-patch
Size: 20311 bytes
Desc: exprfix.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130118/a7b49bb7/attachment.bin>

More information about the lldb-commits mailing list