summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-11-28 21:11:14 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-11-28 21:11:14 +0000
commit67e199eb32633f9f8dfd5e982063156c98d2358b (patch)
tree0d78590653fb6eccb07b88d4e329855c6c898c3b /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
parent08ebbcebb984b115ad1feb5984306f46cacdc616 (diff)
downloadbcm5719-llvm-67e199eb32633f9f8dfd5e982063156c98d2358b.tar.gz
bcm5719-llvm-67e199eb32633f9f8dfd5e982063156c98d2358b.zip
[Driver] Refactor distro detection & classification as a separate API
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud