jansvoboda11 added a comment.

The `CodeGen` tests you added are failing pre-merge checks. This is most likely 
because we recently (D97462 <https://reviews.llvm.org/D97462>) started 
verifying that all all CC1 command line options can be serialized from a 
`CompilerInvocation` instance. To reproduce this locally, you'd need to build 
with assertions or manually set `-DCLANG_ROUND_TRIP_CC1_ARGS=ON` when building 
with CMake.

The solution would be to add complementary code that generates 
`"-f[no-]sanitize-merge-traps"` from `CodeGenOptions::SanitizeMergeTraps` in 
`CompilerInvocation::GenerateCodeGenArgs`.

More info is here 
https://clang.llvm.org/docs/InternalsManual.html#compiler-invocation and in the 
following sections.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100150/new/

https://reviews.llvm.org/D100150

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to