summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/alias.c
Commit message (Collapse)AuthorAgeFilesLines
* [opaque pointer type] update test cases for explicit pointee types on global ↵David Blaikie2015-09-111-8/+8
| | | | | | aliases llvm-svn: 247380
* The alias.c test now requires arm-registered-targetJohn Brawn2015-08-121-0/+1
| | | | | | This should fix a buildbot failure llvm-svn: 244760
* Add test for PR24379John Brawn2015-08-121-2/+25
| | | | | | | | | | The fix for this is in LLVM but it depends on how clang handles the alias attribute, so add a test to the clang tests to make sure everything works together as expected. Differential Revision: http://reviews.llvm.org/D11980 llvm-svn: 244756
* CodeGen: Don't drop thread_local when emitting __thread aliasesDavid Majnemer2014-10-151-0/+5
| | | | | | | | | | | | CodeGen wouldn't mark the aliasee as thread_local if the aliasee was a tentative definition. Even if the definition was already emitted, it would never mark the alias as thread_local. This fixes PR21288. llvm-svn: 219859
* Update for llvm change.Rafael Espindola2014-07-301-1/+1
| | | | llvm-svn: 214356
* Update for llvm API change.Rafael Espindola2014-06-031-2/+2
| | | | | | Aliases in llvm now hold an arbitrary expression. llvm-svn: 210063
* Update for llvm api change.Rafael Espindola2014-05-161-2/+2
| | | | | | | | | | Now that llvm cannot represent alias cycles, we have to diagnose erros just before trying to close the cycle. This degrades the errors a bit. The real solution is what it was before: if we want to provide good errors for these cases, we have to be able to find a clang level decl given a mangled name and produce the error from Sema. llvm-svn: 209008
* Fix pr19653.Rafael Espindola2014-05-051-0/+5
| | | | | | Warn if an alias requests a section other than the aliasee section. llvm-svn: 207997
* Handle and warn on aliases to weak aliases.Rafael Espindola2014-03-271-0/+6
| | | | | | | This produces valid IR now that llvm rejects aliases to weak aliases and warns the user that the resolution is not changed if the weak alias is overridden. llvm-svn: 204935
* Also don't hardcode the order on this test.Rafael Espindola2013-10-141-2/+2
| | | | llvm-svn: 192603
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-1/+1
| | | | | | tests fail. llvm-svn: 188447
* Fix testcases to not rely upon target-* attributes.Bill Wendling2013-02-261-9/+7
| | | | llvm-svn: 176135
* Revert "Add more attributes from the command line to functions."Anna Zaks2013-02-251-7/+9
| | | | | | | | This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044
* Add more attributes from the command line to functions.Bill Wendling2013-02-251-9/+7
| | | | | | | This is an ongoing process. Any command line option which a back-end cares about should be added here. llvm-svn: 176009
* Modify the tests to use attribute group references instead of listing theBill Wendling2013-02-201-5/+11
| | | | | | function attributes. llvm-svn: 175606
* Add the 'target-cpu' and 'target-features' attributes to functions.Bill Wendling2013-02-151-2/+2
| | | | | | | The back-end will use these values to reconfigure code generation for different features. llvm-svn: 175308
* Fix another spot where this test varied for a Release build.Alex Rosenberg2012-10-051-2/+2
| | | | llvm-svn: 165347
* Make test resilient to Release build temp names.Alex Rosenberg2012-10-051-2/+2
| | | | llvm-svn: 165345
* Propagate calling convention for aliases and weakrefs.Alex Rosenberg2012-10-051-7/+23
| | | | llvm-svn: 165343
* FileCheckize testAlex Rosenberg2012-10-051-15/+13
| | | | llvm-svn: 165342
* 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
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-6/+6
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Diagnose uses of function specifiers on declarations which don't declareEli Friedman2009-04-071-1/+1
| | | | | | functions. Fixes PR3941. llvm-svn: 68541
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* make alias definition logic more similar to functions/globals.Chris Lattner2009-03-221-0/+7
| | | | llvm-svn: 67481
* fix PR3200 by making alias emission use the new infrastructure. Fold Chris Lattner2009-03-221-1/+13
| | | | | | some tests into the alias.c file. llvm-svn: 67479
* IRgen support for alias of global variable.Daniel Dunbar2009-03-191-0/+13
- PR3818. llvm-svn: 67297
OpenPOWER on IntegriCloud