summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-03-12 11:01:05 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-03-12 11:01:05 +0000
commit2b8b90a7686858b1d22cae6fcfbd0904135112aa (patch)
treedfbd6f541f645235aaf6ac3a225db79a0cafe63e /llvm/lib/Target
parent9c95dfe65863122539837ed174d07cd5ecff6010 (diff)
downloadbcm5719-llvm-2b8b90a7686858b1d22cae6fcfbd0904135112aa.tar.gz
bcm5719-llvm-2b8b90a7686858b1d22cae6fcfbd0904135112aa.zip
Fix compilation on Darwin with expensive checks.
After r327219 was landed, the bot with expensive checks on GreenDragon started failing. The problem was missing symbols `regex_t` and `regmatch_t` in `xlocale/_regex.h`. The latter was included because after the change in r327219, `random` is needed, which transitively includes `xlocale.h.` which in turn conditionally includes `xlocale/_regex.h` when _REGEX_H_ is defined. Because this is the header guard in `regex_impl.h` and because `regex_impl.h` was included before the other LLVM includes, `xlocale/_regex.h` was included without the necessary types being available. This commit fixes this by moving the include of `regex_impl.h` all the way down. I also added a comment to stress the significance of its position. llvm-svn: 327256
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud