summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/global-init.c
Commit message (Collapse)AuthorAgeFilesLines
* recommit r101568 to fix PR6766Nuno Lopes2010-04-181-0/+13
| | | | | | as a side-effect, remove two FIXMEs now fixed llvm-svn: 101726
* revert r101568, which miscompiles this testcase, distilled from ldecod:Chris Lattner2010-04-171-9/+0
| | | | | | | | | | void exit_picture() { char yuv_types[4][6]= {"4:0:0","4:2:0","4:2:2","4:4:4"}; foo(yuv_types); } llvm-svn: 101623
* fix PR6766: codegen of var initialized with wide charNuno Lopes2010-04-161-0/+9
| | | | llvm-svn: 101568
* emit padding as undef values, take 2Nuno Lopes2010-04-161-4/+13
| | | | | | merge also a few tests I had here for this feature, and FileCheck'ize one file llvm-svn: 101535
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* these tests include section specifiers that aren't valid on the Chris Lattner2009-08-101-1/+1
| | | | | | mac, use an explicit triple. llvm-svn: 78583
* weak globals that are const should get weak_odr linkage.Chris Lattner2009-08-051-0/+16
| | | | | | add a fixme about C++ const. llvm-svn: 78159
* rdar://7119244 - globals with an explicit section specified don't getChris Lattner2009-08-051-1/+8
| | | | | | common linkage. llvm-svn: 78158
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* If a global var decl has an initializer, make sure to always set its linkage ↵Anders Carlsson2008-12-031-0/+7
to external. llvm-svn: 60462
OpenPOWER on IntegriCloud