Redirect DataLayout from TargetMachine to Module in SjLjEHPrepare
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 8 Jul 2015 01:00:31 +0000 (01:00 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 8 Jul 2015 01:00:31 +0000 (01:00 +0000)
commit564bfad782a839bdf89d13b01e94bb59588c967f
tree496663d223c60482e3b359da4d783f6f3629068c
parent39ee70ca76f31e3448db185ec18b4fa085ecc1df
Redirect DataLayout from TargetMachine to Module in SjLjEHPrepare

Summary:
This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.

Reviewers: echristo

Subscribers: yaron.keren, rafael, llvm-commits

Differential Revision: http://reviews.llvm.org/D11009

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241654 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/Passes.cpp
lib/CodeGen/SjLjEHPrepare.cpp