Files
clang-p2996/llvm/lib/Support/Unix/Memory.inc
Lu Weining fb366581e7 [Memory] Call __clear_cache in InvalidateInstructionCache on LoongArch (#67285)
As the comments of `InvalidateInstructionCache`: Before the JIT can run
a block of code that has been emitted it must invalidate the instruction
cache on some platforms. I think it applies to LoongArch as LoongArch
has a weak memory-model. But I'm not able to write a test to demonstrate
this issue. Perhaps self-modifing code should be wrote?
2023-10-19 10:16:13 +08:00

8.0 KiB