[Lldb-commits] [PATCH] D17856: Fix expression evaluation with operator new
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 3 09:50:51 PST 2016
labath created this revision.
labath added a reviewer: spyffe.
labath added subscribers: lldb-commits, paulherman, sivachandra.
referencing a user-defined operator new was triggering an assert in clang because we were
registering the function name as string "operator new", instead of using the special operator
enum, which clang has for this purpose. Method operators already had code to handle this, and now
I extend this to cover free standing operator functions as well. Test included.
http://reviews.llvm.org/D17856
Files:
include/lldb/Symbol/ClangASTContext.h
packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py
packages/Python/lldbsuite/test/lang/cpp/global_operators/main.cpp
source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
source/Symbol/ClangASTContext.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17856.49748.patch
Type: text/x-patch
Size: 26479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160303/fc543588/attachment-0001.bin>
More information about the lldb-commits
mailing list