aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-06-13 17:01:26 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-06-13 17:01:26 +0000
commit34c72c4773989d65460542f6425fda8b5d509586 (patch)
treefd132de6f1a97b8069b425518426f23ac83a13a4 /clang/lib/Basic/FileManager.cpp
parent5a299da55d1dce1b2b23a708893e25f62330d9b3 (diff)
downloadllvm-34c72c4773989d65460542f6425fda8b5d509586.zip
llvm-34c72c4773989d65460542f6425fda8b5d509586.tar.gz
llvm-34c72c4773989d65460542f6425fda8b5d509586.tar.bz2
Fix bitmask complement operation
The bitmask complement operation doesn't consider the max proc id which means something like !{0} will be translated to {1,2,3,4,...,600,601,...,1023} on a Linux system even though there aren't 600 processors on said system. This change has the complement bitmask and-ed with the fullmask so that it will only contain valid processors. Differential Revision: http://reviews.llvm.org/D21245 llvm-svn: 272561
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions