WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
280029
[Win] clang-cl 19 reports "error: unknown token in expression" for inline asm
https://bugs.webkit.org/show_bug.cgi?id=280029
Summary
[Win] clang-cl 19 reports "error: unknown token in expression" for inline asm
Fujii Hironori
Reported
2024-09-19 17:24:38 PDT
LLVM clang-cl 19.1.0 can't compile StackPointer.cpp and LowLevelInterpreter.cpp. clang-cl 18 can compile. FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/StackPointer.cpp.obj C:\PROGRA~1\LLVM\bin\clang-cl.exe /nologo -TP -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DHAVE_CONFIG_H=1 -DNOCRYPT -DNOMINMAX -DNTDDI_VERSION=0x0A000006 -DPAS_BMALLOC=1 -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WIN32_WINNT=0x0A00 -D_WINDOWS -D_WINSOCKAPI_="" -IC:\webkit\wb\WebKitBuild\Debug -IC:\webkit\wb\WebKitBuild\Debug\WTF\DerivedSources -IC:\webkit\wb\Source\WTF -IC:\webkit\wb\Source\WTF\wtf -IC:\webkit\wb\Source\WTF\wtf\dtoa -IC:\webkit\wb\Source\WTF\wtf\fast_float -IC:\webkit\wb\Source\WTF\wtf\persistence -IC:\webkit\wb\Source\WTF\wtf\simdutf -IC:\webkit\wb\Source\WTF\wtf\text -IC:\webkit\wb\Source\WTF\wtf\text\icu -IC:\webkit\wb\Source\WTF\wtf\threads -IC:\webkit\wb\Source\WTF\wtf\unicode -imsvcC:\webkit\wb\WebKitLibraries\win\include /W4 -fcolor-diagnostics -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-deprecated-declarations -Wno-sign-compare /DWIN32 /D_WINDOWS -fno-strict-aliasing /Zi /Ob0 /Od /RTC1 -std:c++latest -MD /Zi /GS /EHa- /EHc- /EHs- /fp:except- /GR- /analyze- /bigobj /utf-8 /validate-charset /WX /showIncludes /FoSource\WTF\wtf\CMakeFiles\WTF.dir\StackPointer.cpp.obj /FdSource\WTF\wtf\CMakeFiles\WTF.dir\ -c -- C:\webkit\wb\Source\WTF\wtf\StackPointer.cpp <inline asm>(4,6): error: unknown token in expression 4 | movq %rsp, %rax | ^ <inline asm>(5,6): error: unknown token in expression 5 | addq $40, %rax | ^ 2 errors generated.
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2024-09-19 18:20:24 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/33948
EWS
Comment 2
2024-09-19 20:56:55 PDT
Committed
283972@main
(a6db8e0122f5): <
https://commits.webkit.org/283972@main
> Reviewed commits have been landed. Closing PR #33948 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug