summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-friend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-friend.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-friend.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-friend.cpp b/clang/test/CodeGenCXX/debug-info-friend.cpp
index cf6651cde18..b103b142a2a 100644
--- a/clang/test/CodeGenCXX/debug-info-friend.cpp
+++ b/clang/test/CodeGenCXX/debug-info-friend.cpp
@@ -14,4 +14,7 @@ struct MyFriend {
}
};
-// CHECK: DW_TAG_friend
+// Emitting debug info for friends unnecessarily bloats debug info without any
+// known benefit or debugger feature that requires it. Re-enable this is a
+// use-case appears.
+// CHECK-NOT: DW_TAG_friend
OpenPOWER on IntegriCloud