mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibJS/JIT: Dump disassembly of generated code using LibX86
This avoids the need for redirecting stdout to a file and using ndisasm, which can lead to problems if other things are printed.
This commit is contained in:
parent
1d68c64b98
commit
ec8330b647
4 changed files with 48 additions and 1 deletions
|
@ -268,3 +268,6 @@ set(SOURCES
|
|||
|
||||
serenity_lib(LibJS js)
|
||||
target_link_libraries(LibJS PRIVATE LibCore LibCrypto LibFileSystem LibRegex LibSyntax LibLocale LibUnicode LibJIT)
|
||||
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
|
||||
target_link_libraries(LibJS PRIVATE LibX86)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue