Skip to content

Commit

Permalink
Enable llint alt entries on linux
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274160

Reviewed by Yusuke Suzuki.

I have not seen any evidence that this linker bug affected linux toolchains,
so let's try enabling linux alt entries.

* Source/WTF/wtf/PlatformEnable.h:

Canonical link: https://commits.webkit.org/278801@main
  • Loading branch information
justinmichaud committed May 15, 2024
1 parent 8a064b2 commit b156621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/WTF/wtf/PlatformEnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,8 @@
|| (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 180000) \
|| (PLATFORM(APPLETV) && __TV_OS_VERSION_MAX_ALLOWED >= 180000) \
|| (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MAX_ALLOWED >= 110000) \
|| (PLATFORM(VISION) && __VISION_OS_VERSION_MAX_ALLOWED >= 20000)
|| (PLATFORM(VISION) && __VISION_OS_VERSION_MAX_ALLOWED >= 20000) \
|| OS(LINUX)
// Linkers from older SDKs causes wrong linking. ref: rdar://96556827
#define ENABLE_OFFLINE_ASM_ALT_ENTRY 1
#endif
Expand Down

0 comments on commit b156621

Please sign in to comment.