summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/datalayout.ll
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unnecessary REQUIRES: shell linesReid Kleckner2019-09-101-3/+4
| | | | | | | This means these tests will run on Windows. Replace one with UNSUPPORTED: system-windows. llvm-svn: 371473
* [llvm-link] Use WithColor for printing errorsJonas Devlieghere2018-04-181-2/+2
| | | | | | | | Use convenience helpers in WithColor to print errors and warnings. Differential revision: https://reviews.llvm.org/D45667 llvm-svn: 330261
* Make DataLayout Non-Optional in the ModuleMehdi Amini2015-03-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: DataLayout keeps the string used for its creation. As a side effect it is no longer needed in the Module. This is "almost" NFC, the string is no longer canonicalized, you can't rely on two "equals" DataLayout having the same string returned by getStringRepresentation(). Get rid of DataLayoutPass: the DataLayout is in the Module The DataLayout is "per-module", let's enforce this by not duplicating it more than necessary. One more step toward non-optionality of the DataLayout in the module. Make DataLayout Non-Optional in the Module Module->getDataLayout() will never returns nullptr anymore. Reviewers: echristo Subscribers: resistor, llvm-commits, jholewinski Differential Revision: http://reviews.llvm.org/D7992 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 231270
* Don't assume an empty stderr.Rafael Espindola2014-03-111-3/+3
| | | | | | | | GuardMalloc can print info to stderr, causing these tests to fail. Since FileCheck errors on empty inputs, just add a bit of dummy data to make it happy. llvm-svn: 203595
* Fix datalayout test that I broke with my previous LinkModules warning ↵JF Bastien2014-03-051-1/+1
| | | | | | improvement. llvm-svn: 203011
* Revert "Use count 0."Juergen Ributzka2014-02-271-1/+4
| | | | | | | This reverts commit r202283, because when we use GuardMalloc the test will fail due to additional output to std err. llvm-svn: 202341
* Use count 0.Rafael Espindola2014-02-261-4/+1
| | | | | | Thanks to Roman Divacky for the suggestion. llvm-svn: 202283
* Compare DataLayout by Value, not by pointer.Rafael Espindola2014-02-261-0/+14
This fixes spurious warnings in llvm-link about the datalayout not matching. Thanks to Zalman Stern for reporting the bug! llvm-svn: 202276
OpenPOWER on IntegriCloud