summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-11-30 22:27:54 +0000
committerAlexey Samsonov <samsonov@google.com>2012-11-30 22:27:54 +0000
commit2b431d97aa7f702acb919e432fac39da1a27ccfb (patch)
treeb56896ce2d79c5f5c016584b1e350d77a79b0b4e /llvm/lib/Transforms
parentd2901e94f1734bc5498a37eae59591cd7e499dd7 (diff)
downloadbcm5719-llvm-2b431d97aa7f702acb919e432fac39da1a27ccfb.tar.gz
bcm5719-llvm-2b431d97aa7f702acb919e432fac39da1a27ccfb.zip
Fix a bug in APFloat.cpp: declare APFloat after fltSemantics it
uses. APFloat::convert() takes the pointer to the fltSemantics variable, which is later accessed it in ~APFloat() desctructor. That is, semantics must still be alive at the moment we delete APFloat. Found by experimental AddressSanitizer use-after-scope checker. llvm-svn: 169047
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud