Fix for compiler and linker errors with clang 18 58/305758/7
authorsidpaswan <s.paswan@samsung.com>
Wed, 7 Feb 2024 09:00:18 +0000 (14:30 +0530)
committerSidhartha Paswan <s.paswan@samsung.com>
Mon, 12 Feb 2024 10:32:49 +0000 (10:32 +0000)
commit6452083d488914ee380cf29e31ed280a7aad94be
tree62ad6d3eddc7f8bee8df1fc882164222e1423419
parent2ff868bdb1a04824f9d38d0966552478c7b0e63d
Fix for compiler and linker errors with clang 18

Fixes the following linker error:
ld.lld: error: relocation R_ARM_TLS_LE32 against blink::g_thread_specific_
cannot be used with -shared

More details related to the error can be found at:
https://reviews.llvm.org/D93331?id=311994

Change-Id: Ib9471e396415baa5eb77d8471c73433dc88d30f2
Signed-off-by: sidpaswan <s.paswan@samsung.com>
cc/layers/mirror_layer_impl.h
third_party/blink/renderer/platform/heap/thread_local.h
third_party/webrtc/pc/legacy_stats_collector.cc