[Lldb-commits] [PATCH] D145803: [clang][DebugInfo] Emit DW_AT_type of preferred name if available
    Paul Robinson via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri Mar 24 09:34:54 PDT 2023
    
    
  
probinson added subscribers: wolfgangp, probinson.
probinson added a comment.
This is pretty different from the "always desugar to the canonical type" habit that has always been in place. Sony has done some downstream things to try to work around that in the past. @wolfgangp will remember it better than I do, but I think we make some effort to preserve the type-as-written. This goes in completely the other direction.
================
Comment at: clang/test/CodeGen/preferred_name.cpp:49
+
+    Foo<Foo<int>> varFooInt;
+
----------------
This doesn't become `Foo<BarInt>` ?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145803/new/
https://reviews.llvm.org/D145803
    
    
More information about the lldb-commits
mailing list