dpaoliello wrote:

> Can you give some background explaining why someone would use this flag?

Added a note to the description. tldr; it's about performance.

> Should we warn if someone uses this flag with an Arm64EC target?

MSVC currently doesn't emit anything, but I'm guessing that's because it is a 
d2 flag. Feels reasonable to warn for using dispatch on EC.

> Maybe split out the ControlFlowGuardMode enum into a separate NFC patch, if 
> it's not too hard.

Sure.

https://github.com/llvm/llvm-project/pull/176276
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to