This is the first patch to put the needed bits in place to eventually allow code
authorKevin Enderby <enderby@apple.com>
Tue, 23 Feb 2010 18:26:34 +0000 (18:26 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 23 Feb 2010 18:26:34 +0000 (18:26 +0000)
commit6e72048add2a6464e038121c6c275da37528aa0a
tree00c107b21ab078d0f18c75447a14577af7de4cb4
parent4ee2aa7eb29079eaf4cdefe533151200214a3a2c
This is the first patch to put the needed bits in place to eventually allow code
to be aligned with optimal nops.  This patch does not change any functionality
and when the compiler is changed to use EmitCodeAlignment() it should also not
change the resulting output.  Once the compiler change is made and everything
looks good the next patch with the table of optimal X86 nops will be added to
WriteNopData() changing the output.  There are many FIXMEs in this patch which
will be removed when we have better target hooks (coming soon I hear).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96963 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
include/llvm/MC/MCStreamer.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCAssembler.cpp
lib/MC/MCMachOStreamer.cpp
lib/MC/MCNullStreamer.cpp