Skip to content

Missing smart pointers comparison functionality #28

@kuilpd

Description

@kuilpd

In lldb-eval there was a separate SmartPtrToPtrDecay node, that transformed the the smart pointer to the underlying pointer so that it could be compared to other values. This was implemented using a regex type.cc:70, but I'm guessing this is against the new philosophy of DIL being language independent.
Now, when comparing a smart pointer, the operator compares the smart pointer itself, so all the tests in TestUniquePtrCompare and TestSharedPtrCompare fail.

Can we do something about it or should it be delayed until we start implementing language-specific functionality?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions