Alexey Samsonov e769dc39fd Be more careful in parsing Module::ModFlagBehavior value
to make sure we don't do invalid load of an enum. Share the
conversion code between llvm::Module implementation and the
verifier.

This bug was reported by UBSan.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217395 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-08 19:16:28 +00:00
..
2014-07-24 14:25:39 +00:00
2014-07-24 14:25:39 +00:00
2014-07-24 14:25:39 +00:00
2014-08-21 21:09:24 +00:00