⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 282177 in webkit


Ignore:
Timestamp:
Sep 8, 2021, 3:54:37 PM (5 years ago)
Author:
Fujii Hironori
Message:

REGRESSION(r282115): undefined reference to `IPC::messageArgumentDescriptions(IPC::MessageName)' in Debug build
​https://bugs.webkit.org/show_bug.cgi?id=230064

Unreviewed build fix.

Debug build of non-Cocoa ports were broken since r282115 started
to use IPC::messageArgumentDescriptions for debug logging.
However, MessageArgumentDescriptions.cpp has a long-standing
compilation problem for non-Cocoa ports.

Temporarily disabled the debug logging for non-Cocoa ports by
using ENABLE(IPC_TESTING_API) macro. I'll revert this change after
I will fix the fundamental problem of messages.py.

  • Platform/IPC/HandleMessage.h:

(IPC::logMessageImpl):
(IPC::logReply):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r282176 r282177  
     12021-09-08  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        REGRESSION(r282115): undefined reference to `IPC::messageArgumentDescriptions(IPC::MessageName)' in Debug build
     4        https://bugs.webkit.org/show_bug.cgi?id=230064
     5
     6        Unreviewed build fix.
     7
     8        Debug build of non-Cocoa ports were broken since r282115 started
     9        to use IPC::messageArgumentDescriptions for debug logging.
     10        However, MessageArgumentDescriptions.cpp has a long-standing
     11        compilation problem for non-Cocoa ports.
     12
     13        Temporarily disabled the debug logging for non-Cocoa ports by
     14        using ENABLE(IPC_TESTING_API) macro. I'll revert this change after
     15        I will fix the fundamental problem of messages.py.
     16
     17        * Platform/IPC/HandleMessage.h:
     18        (IPC::logMessageImpl):
     19        (IPC::logReply):
     20
    1212021-09-08  Sihui Liu  <sihui_liu@apple.com>
    222
  • trunk/Source/WebKit/Platform/IPC/HandleMessage.h

    r282115 r282177  
    4848constexpr unsigned loggingContainerSizeLimit = 200;
    4949
    50 #if !LOG_DISABLED
     50#if !LOG_DISABLED && ENABLE(IPC_TESTING_API)
    5151enum class ForReply : bool { No, Yes };
    5252
    … …  
    7474void logMessageImpl(const Connection& connection, MessageName messageName, const ArgsTuple& args, std::index_sequence<ArgsIndex...>)
    7575{
    76 #if !LOG_DISABLED
     76#if !LOG_DISABLED && ENABLE(IPC_TESTING_API)
    7777    auto stream = textStreamForLogging(connection, messageName, ForReply::No);
    7878
    … …  
    9797void logReply(const Connection& connection, MessageName messageName, const T&... args)
    9898{
    99 #if !LOG_DISABLED
     99#if !LOG_DISABLED && ENABLE(IPC_TESTING_API)
    100100    if (!sizeof...(T))
    101101        return;
Note: See TracChangeset for help on using the changeset viewer.