This is an archive of the discontinued LLVM Phabricator instance.

Fix for http://llvm.org/PR23392: magick/feature.c from ImageMagick-6.9.1-2 ICEs
ClosedPublic

Authored by ABataev on May 6 2015, 5:02 AM.

Details

Summary

Fix for codegen of static variables declared inside of captured statements. Captured statements are actually a transparent DeclContexts, so we have to skip them when trying to get a mangled name for statics.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev updated this revision to Diff 25036.May 6 2015, 5:02 AM
ABataev retitled this revision from to Fix for http://llvm.org/PR23392: magick/feature.c from ImageMagick-6.9.1-2 ICEs.
ABataev updated this object.
ABataev edited the test plan for this revision. (Show Details)
ABataev added a reviewer: rjmccall.
ABataev added a subscriber: Unknown Object (MLST).
rjmccall edited edge metadata.May 6 2015, 10:05 AM

The fix LGTM, but please make the test actually test the code-generation of the variable when it has an initializer.

This revision was automatically updated to reflect the committed changes.