Rafael Espindola aab87fe0ec Store a DataLayout in Module.
Now that DataLayout is not a pass, store one in Module.

Since the C API expects to be able to get a char* to the datalayout description,
we have to keep a std::string somewhere. This patch keeps it in Module and also
uses it to represent modules without a DataLayout.

Once DataLayout is mandatory, we should probably move the string to DataLayout
itself since it won't be necessary anymore to represent the special case of a
module without a DataLayout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202190 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 20:01:08 +00:00
..
2014-02-16 07:31:05 +00:00
2014-01-11 21:06:00 +00:00
2014-01-16 06:31:20 +00:00
2014-01-24 17:20:08 +00:00
2013-12-11 08:38:42 +00:00
2013-12-11 08:38:42 +00:00
2013-12-16 14:36:50 +00:00
2014-01-24 17:20:08 +00:00
2013-12-11 04:10:41 +00:00
2014-02-25 20:01:08 +00:00
2013-12-03 09:17:32 +00:00
2013-11-22 17:56:57 +00:00
2013-11-25 18:05:22 +00:00
2013-11-26 20:31:31 +00:00
2014-01-24 17:20:08 +00:00
2013-11-17 10:53:19 +00:00
2013-12-17 12:07:33 +00:00
2014-01-11 21:06:00 +00:00
2014-02-16 07:31:05 +00:00
2013-12-05 05:44:44 +00:00