summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-05-23 17:50:32 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-05-23 17:50:32 +0000
commit1ab887d40324a2c2181d0ae02ce6717ad5f2577c (patch)
tree22b202a0964d2ad68e2c49e0b4475e685dcb1b36 /clang/lib/Frontend/CompilerInvocation.cpp
parent6c8f20d73dd8db4f3338c1976bd94d2e54abb7ed (diff)
downloadbcm5719-llvm-1ab887d40324a2c2181d0ae02ce6717ad5f2577c.tar.gz
bcm5719-llvm-1ab887d40324a2c2181d0ae02ce6717ad5f2577c.zip
Allow unit testing on Windows
These changes allow testing on Windows using clang.exe. There are two main changes: 1. Only link to -lm when it actually exists on the system 2. Create basic versions of pthread_create() and pthread_join() for windows. They are not POSIX compliant by any stretch but will allow any existing and future tests to use pthread_create() and pthread_join() for testing interactions of libomp with os threads. Differential Revision: http://reviews.llvm.org/D20391 llvm-svn: 270464
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud