[PATCH] D75600: Add nullptr check to isLandingPad

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 06:57:30 PDT 2020


lebedev.ri resigned from this revision.
lebedev.ri added a comment.

I suspect there are many functions that would need such comment.
Perhaps it would be best to place it somewhere in the docs, something along the lines of
"Warning: basic block with no terminator instruction is invalid, and must not be passed to certain API's",
but i think that might best go into a new patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75600/new/

https://reviews.llvm.org/D75600





More information about the llvm-commits mailing list