[clang] [Serialization] Read the initializer for interesting static variables before consuming it (PR #92353)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu May 16 18:30:36 PDT 2024


ChuanqiXu9 wrote:

> I can reproduce the failure. The problem is that the CHECK line
> 
> ```
> // CHECK: [[A_CALL:%[a-zA-Z0-9]+]] = call{{.*}}@_Z6MakeVRffff(
> ```
> 
> assumes that a value is returned. On SystemZ, the return value is passed as `sret` argument, and the function itself returns `void`, so the pattern does not match.

Oh, thanks! I never heard that before. I guess I don't need to check the call since what I need to check is the order the variable get initialized.

I'll try to land this after the build bot gets green.

https://github.com/llvm/llvm-project/pull/92353


More information about the cfe-commits mailing list