llvm-6502/lib/AsmParser
Rafael Espindola f907a26bc2 Change the .ll syntax for comdats and add a syntactic sugar.
In order to make comdats always explicit in the IR, we decided to make
the syntax a bit more compact for the case of a GlobalObject in a
comdat with the same name.

Just dropping the $name causes problems for

@foo = globabl i32 0, comdat
$bar = comdat ...

and

declare void @foo() comdat
$bar = comdat ...

So the syntax is changed to

@g1 = globabl i32 0, comdat($c1)
@g2 = globabl i32 0, comdat

and

declare void @foo() comdat($c1)
declare void @foo() comdat

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225302 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-06 22:55:16 +00:00
..
CMakeLists.txt
LLLexer.cpp AsmParser: Don't allow null bytes in BB labels 2014-12-10 02:10:35 +00:00
LLLexer.h AsmParser: Don't crash if a null byte is inside a quoted string 2014-12-10 00:43:17 +00:00
LLParser.cpp Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
LLParser.h Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
LLToken.h Prologue support 2014-12-03 02:08:38 +00:00
LLVMBuild.txt
Makefile
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
Parser.cpp Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00