summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/blockwithlocalstatic.c
Commit message (Collapse)AuthorAgeFilesLines
* block literal irgen: several improvements on naming blockFariborz Jahanian2012-06-261-3/+3
| | | | | | | | | | | | literal helper functions. All helper functions (global and locals) use block_invoke as their prefix. Local literal helper names are prefixed by their enclosing mangled function names. Blocks in non-local initializers (e.g. a global variable or a C++11 field) are prefixed by their mangled variable name. The descriminator number added to end of the name starts off with blank (for first block) and _<N> (for the N+2-th block). llvm-svn: 159206
* Declaring local static in global blockFariborz Jahanian2010-11-301-0/+19
literal declaration caused crash in CodeGen. This patch fixes it. pr8707 llvm-svn: 120486
OpenPOWER on IntegriCloud