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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
include/clang/Driver/Distro.h | ||
---|---|---|
118 ↗ | (On Diff #179353) | Shall we also introduce the IsGentoo() predicate for convenience? |
include/clang/Driver/Distro.h | ||
---|---|---|
118 ↗ | (On Diff #179353) | Hmm, I originally thought they only make sense when there's 1+ distro value for it. But I guess more distros are doing it for some reason. |