diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-07-10 22:51:01 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-07-10 22:51:01 +0000 |
commit | b31366da8272e2e2149e5d044b0af1c01d81786f (patch) | |
tree | d849fda004df08e2d0dea61d8f9cd1fcbec06fa7 /llvm/lib/Support/ToolOutputFile.cpp | |
parent | 555aa899c63e4b6b854dc5fa71808b6a400191fc (diff) | |
download | bcm5719-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