summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/TrigramIndex.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2019-04-29 09:24:51 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2019-04-29 09:24:51 +0000
commit714a4425de37c9e5d592ba29b5aad1b55761051d (patch)
treedd230e8bfcd46a21c734cf280bcb5de34ee2ffb5 /llvm/lib/Support/TrigramIndex.cpp
parent055aee1d8a75e9414d0662c4d9f4b8f0393f6100 (diff)
downloadbcm5719-llvm-714a4425de37c9e5d592ba29b5aad1b55761051d.tar.gz
bcm5719-llvm-714a4425de37c9e5d592ba29b5aad1b55761051d.zip
Try to use /proc on FreeBSD for getExecutablePath
Currently, clang's libTooling passes this function a fake argv0, which means that no libTooling tools can find the standard headers on FreeBSD. With this change, these will now work on any FreeBSD systems that have procfs mounted. This isn't the right fix for the libTooling issue, but it does bring the FreeBSD implementation of getExecutablePath closer to the Linux and macOS implementations. llvm-svn: 359427
Diffstat (limited to 'llvm/lib/Support/TrigramIndex.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud