[PATCH] D90719: [DebugInfo] Modify ctor homing as workaround for unconstructed libcxx types
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 18:53:50 PST 2020
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
More information about the cfe-commits
mailing list