aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2024-05-29 22:48:15 -0600
committerGitHub <noreply@github.com>2024-05-29 22:48:15 -0600
commit02c6845c762dfd0a19d4a2f997990e160f392dae (patch)
treeb00b6bd40fe71f412d899755ffe182e939490e97 /clang/lib/CodeGen/CGDebugInfo.cpp
parent32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6 (diff)
downloadllvm-02c6845c762dfd0a19d4a2f997990e160f392dae.zip
llvm-02c6845c762dfd0a19d4a2f997990e160f392dae.tar.gz
llvm-02c6845c762dfd0a19d4a2f997990e160f392dae.tar.bz2
Revert "[DebugInfo] Add flag to only emit referenced member functions" (#93767)
Reverts llvm/llvm-project#87018 MacOS and Windows bots are broken.
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 5f6f911..9d7107a 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -2836,7 +2836,7 @@ CGDebugInfo::CreateTypeDefinition(const RecordType *Ty) {
// Collect data fields (including static variables and any initializers).
CollectRecordFields(RD, DefUnit, EltTys, FwdDecl);
- if (CXXDecl && !CGM.getCodeGenOpts().DebugOmitUnreferencedMethods)
+ if (CXXDecl)
CollectCXXMemberFunctions(CXXDecl, DefUnit, EltTys, FwdDecl);
LexicalBlockStack.pop_back();