clayborg added a comment.

Update: There are some new failures after someone recently added new tests that 
involve simple template types. I need to fix my new lookup routine to do the 
right thing in light of these new tests. The main issue is currently if you 
have a "foo<int>", the accelerator tables and DWARF contain "foo" only. This 
causes the expression parser to be able to lookup "foo" as it is parsing an 
expression that has "auto a = foo<int>()" as it will actually return a 
specialized "foo<int>" as the result since the accelerator table will point to 
the "foo<int>" type. We need to outlaw these raw lookups from working. Worse 
yet, if there are multiple instantiations of "foo<T>", it will return all of 
them and cause LLDB to crash later in some AST copying code.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137900/new/

https://reviews.llvm.org/D137900

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to