From: Lang Hames Date: Thu, 20 Oct 2011 19:24:44 +0000 (+0000) Subject: Haven't yet found a nice way to handle TargetData verification in the X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=1dda3d511e19918c4487e9d5a45eb5856284494e;hp=1dda3d511e19918c4487e9d5a45eb5856284494e Haven't yet found a nice way to handle TargetData verification in the AsmParser. This patch adds validation for target data layout strings upon construction of TargetData objects. An attempt to construct a TargetData object from a malformed string will trigger an assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142605 91177308-0d34-0410-b5e6-96231b3b80d8 ---