This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add a test for CGDebugInfo treatment of blocks
ClosedPublic

Authored by scott.linder on Oct 2 2020, 1:34 PM.

Details

Summary

There doesn't seem to be a direct test of this, and I'm planning to make future changes which will affect it.

I'm not particularly familiar with the blocks extension, so suggestions for better tests are welcome.

Diff Detail

Event Timeline

scott.linder created this revision.Oct 2 2020, 1:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2020, 1:34 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
scott.linder requested review of this revision.Oct 2 2020, 1:34 PM
scott.linder edited the summary of this revision. (Show Details)Oct 2 2020, 1:36 PM
scott.linder added reviewers: gbenyei, aprantl, fhahn.

I think that this should either hardcode a 64-bit architecture or it shouldn't test for explicit offsets.

Don't hardcode x86_64-specific offsets

aprantl accepted this revision.Oct 9 2020, 11:53 AM

Thanks!

This revision is now accepted and ready to land.Oct 9 2020, 11:53 AM