llvm-project
e700f157 - [clang] Unify -mspeculative-load-hardening as a benign compiler option (#166640)

Commit
83 days ago
[clang] Unify -mspeculative-load-hardening as a benign compiler option (#166640) Before this patch, compilations using modules & `-mspeculative-load-hardening` failed because it was not consistent whether this option impacts module compatibility. This repairs it by always treating it as benign. This was determined by checking if the option enables any kind of preprocessor checks and comparing how the compiler handles a similar option that impacts codegen (-fvisibility=hidden) but is more widely used. resolves: rdar://163985667
Author
Parents
Loading