Commit 01ba15e0 authored by Michael Lippautz's avatar Michael Lippautz Committed by V8 LUCI CQ

cppgc: Fix name trait for gcc and msvc

The configuration was only enabled behind
  `cppgc_enable_object_names = true`

Bug: chromium:1321620
Change-Id: Id762a0603e6788ad218cc367b44c71a5c0f48e95
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3769827
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81769}
parent ebd94983
...@@ -116,7 +116,7 @@ class NameTrait final : public NameTraitBase { ...@@ -116,7 +116,7 @@ class NameTrait final : public NameTraitBase {
static const HeapObjectName leaky_name = static const HeapObjectName leaky_name =
GetNameFromTypeSignature(PRETTY_FUNCTION_VALUE); GetNameFromTypeSignature(PRETTY_FUNCTION_VALUE);
return {leaky_name, false}; return leaky_name;
#undef PRETTY_FUNCTION_VALUE #undef PRETTY_FUNCTION_VALUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment