llvm-6502/lib/Bitcode/Writer
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
..
BitcodeWriter.cpp Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
BitcodeWriterPass.cpp [PM] Wire up support for writing bitcode with new PM. 2014-01-13 07:38:24 +00:00
BitWriter.cpp Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
CMakeLists.txt Per discussion on the list, remove BitcodeVerify pass to reimplement as a free function. 2011-12-14 00:29:31 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
ValueEnumerator.cpp Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
ValueEnumerator.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00