summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/VMCore/VerifierTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-1/+1
| | | | llvm-svn: 135375
* Allow unnamed_addr on declarations.Rafael Espindola2011-01-151-27/+0
| | | | llvm-svn: 123529
* Reject uses of unnamed_addr in declarations.Rafael Espindola2011-01-131-0/+26
| | | | llvm-svn: 123358
* First step in fixing PR8927:Rafael Espindola2011-01-081-0/+20
| | | | | | | | | | | | | | | | | | | Add a unnamed_addr bit to global variables and functions. This will be used to indicate that the address is not significant and therefore the constant or function can be merged with others. If an optimization pass can show that an address is not used, it can set this. Examples of things that can have this set by the FE are globals created to hold string literals and C++ constructors. Adding unnamed_addr to a non-const global should have no effect unless an optimization can transform that global into a constant. Aliases are not allowed to have unnamed_addr since I couldn't figure out any use for it. llvm-svn: 123063
* Remove a memory leak from VerifierTest.Jeffrey Yasskin2010-03-131-3/+4
| | | | | Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests llvm-svn: 98411
* Teach the verifier to check the condition on a branch and ensure that it hasNick Lewycky2010-02-151-0/+44
'i1' type. llvm-svn: 96282
OpenPOWER on IntegriCloud