[NFC] Add --check-globals to an autogen test cmdline
In c6d7e80e this test was converted from hand written to autogenerated, during which the relevant metadata CHECKs were dropped. In D85172 the intention of the CHECK lines is to ensure that for two dbg.declares with different inlining scopes, attached to the same alloca, two sets of dbg.values will be generated with the same set of inlining scopes. Without metadata checks, a single DILocation can match the !dbg CHECKs.
parent
088b5d1a
Please register or sign in to comment