summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-04-18 20:54:23 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-04-18 20:54:23 +0000
commit26b476502c9857c3a0935d4f12489d4affd9038e (patch)
tree969ae91f7434fce7f334a72eb4f433de0c9727d7 /clang/lib/Lex/ModuleMap.cpp
parent7879598d753c7630e700bb912016bf229ef9c8b0 (diff)
downloadbcm5719-llvm-26b476502c9857c3a0935d4f12489d4affd9038e.tar.gz
bcm5719-llvm-26b476502c9857c3a0935d4f12489d4affd9038e.zip
The SubjectMatchRule enum should not be used as a DenseMap key to avoid
UBSAN 'invalid value' failures The commit r300556 introduced a UBSAN issue that was caught by http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap. The DenseMap failed to create an empty/tombstone value as the empty/tombstone values for the SubjectMatchRule enum were not valid enum constants. llvm-svn: 300591
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud