[Lldb-commits] [PATCH] D17957: Expression evaluation for overloaded C functions
Ewan Crawford via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 8 04:03:10 PST 2016
EwanCrawford created this revision.
EwanCrawford added reviewers: spyffe, clayborg.
EwanCrawford added a subscriber: lldb-commits.
EwanCrawford set the repository for this revision to rL LLVM.
Fixes bugzilla ticket https://llvm.org/bugs/show_bug.cgi?id=26694
Where we can currently pick the incorrect declaration when calling a C function with the overloadable attribute.
This is done by checking if we're using language C, but the function has a mangled name.
Patch also includes some additional fallback parameter manglings for when clang doesn't emit a matching symbol.
Repository:
rL LLVM
http://reviews.llvm.org/D17957
Files:
packages/Python/lldbsuite/test/expression_command/call-overloaded-c-fuction/Makefile
packages/Python/lldbsuite/test/expression_command/call-overloaded-c-fuction/TestCallOverloadedCFunction.py
packages/Python/lldbsuite/test/expression_command/call-overloaded-c-fuction/main.c
source/Expression/IRExecutionUnit.cpp
source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17957.50033.patch
Type: text/x-patch
Size: 8068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160308/148a67a6/attachment.bin>
More information about the lldb-commits
mailing list