- Nov 15, 2010
-
-
Rafael Espindola authored
variable if recursing fails to simplify it. Factor AliasedSymbol to be a method of MCSymbol. Update MCAssembler::EvaluateFixup to match the change in EvaluateAsRelocatableImpl. Remove the WeakRefExpr hack, as the object writer now sees the weakref with no extra effort needed. Nothing else is using MCTargetExpr, but keep it for now. Now that the ELF writer sees relocations with aliases, handle .weak foo2 foo2: .weak bar2 .set bar2,foo2 .quad bar2 the same way gas does and produce a relocation with bar2. llvm-svn: 119152
-
Rafael Espindola authored
This moves most of the isUsed logic to the MCSymbol itself. With this we get a bit more relaxed about allowing definitions after uses: uses that don't evaluate their argument immediately (jmp foo) are accepted. ddunbar, this was the smallest compromise I could think of that lets us accept gcc (and clang!) assembly. llvm-svn: 119144
-
- May 05, 2010
-
-
Daniel Dunbar authored
writing them. - <rdar://problem/7885351> integrated assembler broken for i386 objc code llvm-svn: 103112
-
Daniel Dunbar authored
llvm-svn: 103110
-
- Jan 17, 2010
-
-
Chris Lattner authored
remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
-
Chris Lattner authored
for first character which is a digit, mangler would have taken care of this already. llvm-svn: 93694
-
Chris Lattner authored
to Mangler. Now MCSymbol just decides whether to slap quotes around a symbol when printing it. This also fixes some weirdness where two MCSymbols could be created for the same symbol, if one needed to be mangled and got mangled to the other one. llvm-svn: 93690
-
- Jan 13, 2010
-
-
Chris Lattner authored
llvm-svn: 93350
-
- Jan 05, 2010
-
-
David Greene authored
llvm-svn: 92632
-
- Nov 06, 2009
-
-
Daniel Dunbar authored
llvm-svn: 86251
-
- Sep 18, 2009
-
-
Anton Korobeynikov authored
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227
-
- Sep 13, 2009
-
-
Chris Lattner authored
fix MCSymbol printing on darwin to exactly match the mangler (handling of \n and " in a symbol name). llvm-svn: 81683
-
Chris Lattner authored
for systems that don't support quoting (PR4966). llvm-svn: 81682
-
- Sep 09, 2009
-
-
Chris Lattner authored
allows things like @PLT without quotes. llvm-svn: 81296
-
- Sep 03, 2009
-
-
Chris Lattner authored
we can diff .s files. llvm-svn: 80894
-
Chris Lattner authored
and fix a few things using << on MCSymbols to use ->print(). No functionality change other than unbreaking my previous patch. llvm-svn: 80890
-
- Aug 22, 2009
-
-
Daniel Dunbar authored
(external was really undefined and there wasn't an explicit representation for absolute symbols). - This still needs some cleanup to how the absolute "pseudo" section is dealt with, but I haven't figured out the nicest approach yet. llvm-svn: 79733
-
- Aug 14, 2009
-
-
Daniel Dunbar authored
llvm-svn: 78983
-