[all-commits] [llvm/llvm-project] d8a1a5: DebugInfo: Disable ctor homing for types with only...
David Blaikie via All-commits
all-commits at lists.llvm.org
Mon Feb 27 17:25:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8a1a559f3009a31c517f864156db91d2ae3012c
https://github.com/llvm/llvm-project/commit/d8a1a559f3009a31c517f864156db91d2ae3012c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGenCXX/debug-info-limited-ctor.cpp
Log Message:
-----------
DebugInfo: Disable ctor homing for types with only deleted (non copy/move) ctors
Such a type is never going to have a ctor home, and may be used for type
punning or other ways of creating objects.
May be a more generally acceptable solution in some cases compared to
attributing with [[clang::standalone_debug]].
Differential Revision: https://reviews.llvm.org/D144931
More information about the All-commits
mailing list