diff options
author | Renato Golin <renato.golin@linaro.org> | 2015-02-24 11:38:41 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2015-02-24 11:38:41 +0000 |
commit | 9b1e758a552ce61cc4d8f8cc0f62222e1868be2e (patch) | |
tree | 841b688380834f9ce9c40400d1f0664d3ebe0c58 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 90c8b0e0928bbcc7afd12a9fd8f9eece67c9430c (diff) | |
download | bcm5719-llvm-9b1e758a552ce61cc4d8f8cc0f62222e1868be2e.tar.gz bcm5719-llvm-9b1e758a552ce61cc4d8f8cc0f62222e1868be2e.zip |
Allow sanitizer to work with "old" kernel headers
Sanitizers work on ancient kernels and were depending on types existing.
When those types were removed, the sanitizer build broke. See bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009 for more information.
This patch fixes it by isolating the need for those types only when the
feature is actually needed, thus allowing one to compile the kernel with
or without that change, irrespective of its version.
Patch by Christophe Lyon.
llvm-svn: 230324
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions