About the implementation of shadow-stack GC

Hi all,

Where is the source code located for the implementation of shadow-stack GC as explained in this document?
https://releases.llvm.org/11.0.0/docs/GarbageCollection.html#the-shadow-stack-gc

Thank you,
Kavindu

Simple grep suggest shadow stack GC custom lowering is implemented here :
https://github.com/llvm/llvm-project/blob/main/llvm/lib/CodeGen/ShadowStackGCLowering.cpp.

1 Like