summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Distro.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Clang] Bypass distro detection on non-Linux hostsAlexandre Ganea2019-11-281-2/+20
| | | | | | Skip distro detection when we're not running on Linux, or when the target triple is not Linux. This saves a few OS calls for each invocation of clang.exe. Differential Revision: https://reviews.llvm.org/D70467
* Add support of the next Ubuntu (Ubuntu 20.04 - Focal Fossa)Sylvestre Ledru2019-11-161-0/+1
|
* Debian: Add two missing version code in sidSylvestre Ledru2019-04-191-0/+2
| | | | llvm-svn: 358758
* Add support of the future Debian (Debian 11 - Bullseye)Sylvestre Ledru2019-04-191-0/+2
| | | | | | https://wiki.debian.org/DebianBullseye llvm-svn: 358757
* Add support of the next Ubuntu (Ubuntu 19.10 - Eoan EANIMAL)Sylvestre Ledru2019-04-191-0/+1
| | | | llvm-svn: 358756
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [Distro] Support detecting GentooMichal Gorny2018-12-231-0/+3
| | | | | | | | | | | Add support for distinguishing plain Gentoo distribution, and a unit test for it. This is going to be used to introduce distro-specific customizations in the driver code; most notably, it is going to be used to disable -faddrsig. Differential Revision: https://reviews.llvm.org/D56024 llvm-svn: 350027
* Add support of the next Ubuntu (Ubuntu 19.04 - Disco Dingo)Sylvestre Ledru2018-11-041-0/+1
| | | | llvm-svn: 346103
* Lift VFS from clang to llvm (NFC)Jonas Devlieghere2018-10-101-2/+3
| | | | | | | | | | | | | | | | | | | This patch moves the virtual file system form clang to llvm so it can be used by more projects. Concretely the patch: - Moves VirtualFileSystem.{h|cpp} from clang/Basic to llvm/Support. - Moves the corresponding unit test from clang to llvm. - Moves the vfs namespace from clang::vfs to llvm::vfs. - Formats the lines affected by this change, mostly this is the result of the added llvm namespace. RFC on the mailing list: http://lists.llvm.org/pipermail/llvm-dev/2018-October/126657.html Differential revision: https://reviews.llvm.org/D52783 llvm-svn: 344140
* Change \t to spacesFangrui Song2018-07-201-1/+1
| | | | llvm-svn: 337530
* Add support of the next Ubuntu (Ubuntu 18.10 - Cosmic Canimal)Sylvestre Ledru2018-05-101-0/+1
| | | | | | Patch by Adam Conrad llvm-svn: 331965
* [Driver] add initial support for alpine linuxMartell Malone2017-11-191-0/+3
| | | | | | | | | | | | set -pie as default for musl linux targets add detection of alpine linux append appropriate compile flags for alpine Reviewers: rnk Differential Revision: https://reviews.llvm.org/D39588 llvm-svn: 318608
* Add support of the next Debian (Debian buster - version 10)Sylvestre Ledru2017-10-251-0/+2
| | | | llvm-svn: 316579
* Add support of the next Ubuntu (Ubuntu 18.04 - Bionic Beaver)Sylvestre Ledru2017-10-251-0/+1
| | | | llvm-svn: 316577
* Add support of the next Ubuntu (Ubuntu 17.10 - Artful Aardvark)Sylvestre Ledru2017-05-041-0/+1
| | | | llvm-svn: 302143
* [Driver] Fix recognizing newer OpenSUSE versionsMichal Gorny2016-11-281-2/+5
| | | | | | | | | | Fix recognizing newer OpenSUSE versions that combine the two version components into 'VERSION = x.y'. The check was written against an older version that kept those two split as VERSION and PATCHLEVEL. Differential Revision: https://reviews.llvm.org/D26850 llvm-svn: 288061
* [Driver] Refactor distro detection & classification as a separate APIMichal Gorny2016-11-281-0/+131
Refactor the Distro enum along with helper functions into a full-fledged Distro class, inspired by llvm::Triple, and make it a public API. The new class wraps the enum with necessary comparison operators, adding the convenience Is*() methods and a constructor performing the detection. The public API is needed to run the unit tests (D25869). Differential Revision: https://reviews.llvm.org/D25949 llvm-svn: 288060
OpenPOWER on IntegriCloud