teak-llvm/lldb/packages/Python/lldbsuite/test/expression_command/call-function
Raphael Isemann 778b308eb9 Fix broken builtin functions in the expression command
Summary:
Calling any non-libc builtin function in the expression command currently just causes Clang
to state that the function is not known. The reason for this is that we actually never
initialize the list of builtin functions in the Builtin::Context.

This patch just calls the initializer for the builtins in the preprocessor. Also adds some tests
for the new builtins.

It also gets rid of the extra list of builtins in the ClangExpressionParser, as we can just reuse
the existing list in the Preprocessor for the ASTContext. Having just one list of builtins around
is also closer to the standard Clang behavior.

Reviewers: #lldb, vsk

Reviewed By: vsk

Subscribers: sgraenitz, clayborg, vsk, lldb-commits

Differential Revision: https://reviews.llvm.org/D50481

llvm-svn: 340571
2018-08-23 20:40:45 +00:00
..
main.cpp
Makefile Makefile.rules: compile all tests with -fno-limit-debug-info 2017-12-04 13:31:56 +00:00
TestCallBuiltinFunction.py Fix broken builtin functions in the expression command 2018-08-23 20:40:45 +00:00
TestCallStdStringFunction.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
TestCallStopAndContinue.py Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
TestCallUserDefinedFunction.py Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00