diff options
author | Manuel Jacob <me@manueljacob.de> | 2015-12-29 21:57:55 +0000 |
---|---|---|
committer | Manuel Jacob <me@manueljacob.de> | 2015-12-29 21:57:55 +0000 |
commit | e3773d632e74f9dbadd1aeff7f6cfab7411349a7 (patch) | |
tree | cc7ddd85f4ae808060a93e4e190ce651f8945b76 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 7a7abc9a3b090724416b4a142e0a076fbaebb77d (diff) | |
download | llvm-e3773d632e74f9dbadd1aeff7f6cfab7411349a7.zip llvm-e3773d632e74f9dbadd1aeff7f6cfab7411349a7.tar.gz llvm-e3773d632e74f9dbadd1aeff7f6cfab7411349a7.tar.bz2 |
[PlaceSafepoints] Assert that the gc.safepoint_poll function is present in the module.
If running the PlaceSafepoints pass on a module which doesn't have the
gc.safepoint_poll function without disabling entry and backedge safepoints,
previously the pass crashed with an obscure error because of a null pointer.
Now it fails the assert instead.
llvm-svn: 256580
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions