rsmith added a comment.

Perhaps we could address both the UB and the debug info homing issue by adding 
a new attribute on the libc++ types that says it's valid to create an instance 
of the type without calling a constructor? (If we want to support old libc++ 
with trunk clang, we could detect those types and automatically synthesize the 
attribute, but libc++ is moving towards being version-locked to clang anyway, 
so I don't think we need to worry about that too much.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90719

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

Reply via email to