llvm-project/lldb/test/API/lang/objcxx
Raphael Isemann 499489064b [lldb] Add a test for potentially conflicting names for the Objective-C class update utility expression
We recently had an issue where a user declared a `Class::free` function which
then got picked up by accident by the expression evaluator when calling
`::free`. This was due to a too lax filter in the DWARFIndex (which was fixed by
https://reviews.llvm.org/D73191 ). This broke the Objective-C utility expression
that is trying to update the Objective-C class list (which is calling `:;free`).

This adds a regression test for situations where we have a bunch of functions
defined that share the name of the global functions that this utility function
calls. None of them are actually conflicting with the global functions we are
trying to call (they are all in namespaces, objects or classes).

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D107776
2021-08-10 14:42:06 +02:00
..
class-name-clash [lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC) 2021-04-04 20:04:41 -07:00
conflicting-names-class-update-utility-expr [lldb] Add a test for potentially conflicting names for the Objective-C class update utility expression 2021-08-10 14:42:06 +02:00
cpp_keywords_enabled [lldb] Add support for using variables with C++ keywords names in non-C++ expressions 2020-11-16 16:04:44 +01:00
cxx-bridged-po [lldb] [test] Skip ObjC-based tests via 'objc' category 2020-11-10 12:02:38 +01:00
hide-runtime-values [lldb] [test] Skip ObjC-based tests via 'objc' category 2020-11-10 12:02:38 +01:00
objc-builtin-types [lldb/DataFormatters] Display null C++ pointers as nullptr 2020-11-12 15:24:06 -08:00
objcxx-ivar-vector [lldb] [test] Skip ObjC-based tests via 'objc' category 2020-11-10 12:02:38 +01:00
sample
categories [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00