llvm-6502/lib
Jim Grosbach f2a35fbd60 Move some ELF directives into ELF asm parser.
The .local, .hidden, .internal, and .protected are not legal for all supported
file formats (in particular, they're invalid for MachO). Move the parsing for
them into the ELF assembly parser since that's the format they're for.
Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing
to the COFF and ELF asm parsers. Previously, using any of these directives
on Darwin would result in an assertion failure in the parser; now we get
a diagnostic as we should.

rdar://9827089


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135921 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-25 17:55:35 +00:00
..
Analysis Shorten some expressions by using ArrayRef::slice(). 2011-07-25 15:13:01 +00:00
Archive
AsmParser Convert GetElementPtrInst to use ArrayRef. 2011-07-25 09:48:08 +00:00
Bitcode Convert GetElementPtrInst to use ArrayRef. 2011-07-25 09:48:08 +00:00
CodeGen Add an RS_Split2 stage used for loop prevention. 2011-07-25 15:25:43 +00:00
CompilerDriver
ExecutionEngine - Move CodeModel from a TargetMachine global option to MCCodeGenInfo. 2011-07-20 07:51:56 +00:00
Linker
MC Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
Object
Support switch Triple to take twines instead of stringrefs. 2011-07-24 20:45:08 +00:00
Target Set PPCII::MO_DARWIN_STUB only on MacOSX < 10.5. 2011-07-24 08:22:56 +00:00
Transforms Shorten some expressions by using ArrayRef::slice(). 2011-07-25 15:13:01 +00:00
VMCore Use ArrayRef in the (protected) constructors of ConstantArray, ConstantStruct and ConstantVector. 2011-07-25 10:14:44 +00:00
CMakeLists.txt
Makefile