Skip to content
Permalink
Browse files
Build fix for Release ASAN builds.
https://bugs.webkit.org/show_bug.cgi?id=240667

Reviewed by Yusuke Suzuki.

JSC::ptrTagName() should also be defined for CPU(ARM64E) when ENABLE(DISASSEMBLER)
is true because it is used to support disassembly now.

* Source/JavaScriptCore/runtime/JSCPtrTag.cpp:
* Source/JavaScriptCore/runtime/JSCPtrTag.h:

Canonical link: https://commits.webkit.org/250752@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Mark Lam committed May 19, 2022
1 parent f541202 commit 05e66c87a34b8249880801207a657cf734620e9c
Showing 2 changed files with 3 additions and 3 deletions.
@@ -36,7 +36,7 @@

namespace JSC {

#if ENABLE(JIT_OPERATION_DISASSEMBLY) || (CPU(ARM64E) && ENABLE(PTRTAG_DEBUGGING))
#if CPU(ARM64E) && (ENABLE(PTRTAG_DEBUGGING) || ENABLE(DISASSEMBLER))

const char* ptrTagName(PtrTag tag)
{
@@ -68,7 +68,7 @@ void initializePtrTagLookup()
WTF::registerPtrTagLookup(&lookup);
}
#endif // ENABLE(PTRTAG_DEBUGGING)
#endif // ENABLE(JIT_OPERATION_DISASSEMBLY) || (CPU(ARM64E) && ENABLE(PTRTAG_DEBUGGING))
#endif // CPU(ARM64E) && (ENABLE(PTRTAG_DEBUGGING) || ENABLE(DISASSEMBLER))

#if CPU(ARM64E)

@@ -248,7 +248,7 @@ void initializePtrTagLookup();
inline void initializePtrTagLookup() { }
#endif

#if ENABLE(JIT_OPERATION_DISASSEMBLY) || (CPU(ARM64E) && ENABLE(PTRTAG_DEBUGGING))
#if CPU(ARM64E) && (ENABLE(PTRTAG_DEBUGGING) || ENABLE(DISASSEMBLER))
const char* ptrTagName(PtrTag);
#endif

0 comments on commit 05e66c8

Please sign in to comment.