llvm-6502/lib/CodeGen/AsmPrinter
Chris Lattner 999aee24c7 Fix the third (and last known) case of code update problems due
to LLVM IR changes with addr label weirdness.  In the testcase, we
generate references to the two bb's when codegen'ing the first
function:

_test1:                                 ## @test1
	leaq	Ltmp0(%rip), %rax
..
	leaq	Ltmp1(%rip), %rax

Then continue to codegen the second function where the blocks
get merged.  We're now smart enough to emit both labels, producing
this code:

_test_fun:                              ## @test_fun
## BB#0:                                ## %entry
Ltmp1:                                  ## Block address taken
Ltmp0:
## BB#1:                                ## %ret
	movl	$-1, %eax
	ret

Rejoice.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98595 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-16 00:29:39 +00:00
..
AsmPrinter.cpp Fix the third (and last known) case of code update problems due 2010-03-16 00:29:39 +00:00
CMakeLists.txt elimiante the DWLabel class, using MCSymbol instead. Start 2010-03-08 22:23:36 +00:00
DIE.cpp inline away a form of IsPCRelative, eliminating the 2010-03-10 01:17:49 +00:00
DIE.h Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness of 2010-03-12 17:45:06 +00:00
DwarfDebug.cpp Emit dwarf variable info communicated by code generator through DBG_VALUE machine instructions. 2010-03-15 18:33:46 +00:00
DwarfDebug.h Emit dwarf variable info communicated by code generator through DBG_VALUE machine instructions. 2010-03-15 18:33:46 +00:00
DwarfException.cpp get MMI out of the label uniquing business, just go to MCContext 2010-03-14 08:36:50 +00:00
DwarfException.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
DwarfPrinter.cpp Now that DBG_LABEL is updated, we can finally make MachineMove 2010-03-14 08:12:40 +00:00
DwarfPrinter.h simplify EmitFrameMoves to take BaseLabel in as a symbol 2010-03-13 08:05:25 +00:00
DwarfWriter.cpp reapply r98035: 2010-03-09 04:54:43 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
OcamlGCPrinter.cpp unbreak the build, grr symlinks. 2010-03-14 07:36:49 +00:00