aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2017-04-29 00:07:27 +0000
committerNick Lewycky <nicholas@mxc.ca>2017-04-29 00:07:27 +0000
commit19ae6dc853d3d4f867a6d1308f3c3fcca754a7a2 (patch)
treeee057e33fb728e9315b7be34f7730dc87e866d3b /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
parent4346ae1a058c257bbd09e335e3a318d9e99fd2f1 (diff)
downloadllvm-19ae6dc853d3d4f867a6d1308f3c3fcca754a7a2.zip
llvm-19ae6dc853d3d4f867a6d1308f3c3fcca754a7a2.tar.gz
llvm-19ae6dc853d3d4f867a6d1308f3c3fcca754a7a2.tar.bz2
ObjCBoxedExpr can't be evaluated by the constant expression evaluator.
A boxed expression evaluates its subexpr and then calls an objc method to transform it into another value with pointer type. The objc method can never be constexpr and therefore this expression can never be evaluated. Fixes a miscompile boxing expressions with side-effects. Also make ObjCBoxedExpr handling a normal part of the expression evaluator instead of being the only case besides full-expression where we check for integer overflow. llvm-svn: 301721
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
0 files changed, 0 insertions, 0 deletions