Skip to content

Commit 46411c0

Browse files
sparistDawn LUCI CQ
authored andcommitted
Fix NAPI_SYMBOL name substitution in message
Change-Id: I620427b9adcb27f0682125490dcb3d33f55cc895 Bug: dawn:1975 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/146741 Kokoro: Kokoro <[email protected]> Reviewed-by: Ben Clayton <[email protected]> Commit-Queue: Ben Clayton <[email protected]>
1 parent 141d6d0 commit 46411c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/dawn/node/NapiSymbols.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
#endif
2727

2828
#ifdef __clang__
29-
#define NAPI_SYMBOL(NAME) \
30-
__attribute__((weak)) void NAME() { \
31-
UNREACHABLE( \
32-
"#NAME is a weak stub, and should have been runtime replaced by the node " \
33-
"implementation"); \
29+
#define NAPI_SYMBOL(NAME) \
30+
__attribute__((weak)) void NAME() { \
31+
UNREACHABLE(#NAME \
32+
" is a weak stub, and should have been runtime replaced" \
33+
" by the node implementation"); \
3434
}
3535
#else
3636
#define NAPI_SYMBOL(NAME)

0 commit comments

Comments
 (0)