summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ToolOutputFile.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-07-10 22:51:01 +0000
committerHal Finkel <hfinkel@anl.gov>2013-07-10 22:51:01 +0000
commitb31366da8272e2e2149e5d044b0af1c01d81786f (patch)
treed849fda004df08e2d0dea61d8f9cd1fcbec06fa7 /llvm/lib/Support/ToolOutputFile.cpp
parent555aa899c63e4b6b854dc5fa71808b6a400191fc (diff)
downloadbcm5719-llvm-b31366da8272e2e2149e5d044b0af1c01d81786f.tar.gz
bcm5719-llvm-b31366da8272e2e2149e5d044b0af1c01d81786f.zip
Don't assert if we can't constant fold extract/insertvalue
A non-constant-foldable static initializer expression containing insertvalue or extractvalue had been causing an assert: Constants.cpp:1971: Assertion `FC && "ExtractValue constant expr couldn't be folded!"' failed. Now we report a more-sensible "Unsupported expression in static initializer" error instead. Fixes PR15417. llvm-svn: 186044
Diffstat (limited to 'llvm/lib/Support/ToolOutputFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud