llvm-project/llvm/test/Instrumentation
Rafael Espindola 83a362cde8 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

llvm-svn: 225302
2015-01-06 22:55:16 +00:00
..
AddressSanitizer Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
BoundsChecking Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
DataFlowSanitizer IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
InstrProfiling InstrProf: An intrinsic and lowering for instrumentation based profiling 2014-12-08 18:02:35 +00:00
MemorySanitizer IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
SanitizerCoverage [asan] simplify the tracing code, make it use the same guard variables as coverage 2015-01-03 00:54:43 +00:00
ThreadSanitizer IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00