dvyukov added a comment. Marco, does this look reasonable? Any high-level comments?
There are lots of plumbing to add a new flag and integrate a new pass, so you can look only at: llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp llvm/lib/CodeGen/SanitizerMetadata.cpp As far as I understand the stack layout is only known in machine passes via MachineFrameInfo, so I had to add a machine pass. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136078/new/ https://reviews.llvm.org/D136078 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits