- Mar 19, 2010
-
-
Daniel Dunbar authored
llvm-svn: 98953
-
Daniel Dunbar authored
llvm-svn: 98952
-
Daniel Dunbar authored
llvm-svn: 98950
-
Daniel Dunbar authored
llvm-svn: 98949
-
Daniel Dunbar authored
llvm-svn: 98948
-
Daniel Dunbar authored
MCAssembler: Move ApplyFixup to the TargetAsmBackend, this is a target specific not object writer specific task. llvm-svn: 98947
-
Daniel Dunbar authored
MC/Mach-O: Lift the fixup evaluation and application up (to the same place), and eliminate MCAsmFixup::FixedValue. llvm-svn: 98944
-
Daniel Dunbar authored
MC/Mach-O: Factor out ExecutePostLayoutBinding, to separate the post-layout changes the object writer may need to make to the assembler from the actual .o writing. llvm-svn: 98943
-
Daniel Dunbar authored
MC/Mach-O: Lift relocation emission logic a bit higher to separate evaluation / relocation handling from the actual .o writing. llvm-svn: 98942
-
Chris Lattner authored
createAsmStreamer now takes ownership of the instprinter. llvm-svn: 98939
-
Daniel Dunbar authored
MC/Mach-O: Add isScatteredFixupFullyResolved, which implements the correct algorithm (used on x86_64) for determining whether an evaluated fixup is fully resolved (doesn't need relocation). - Test cases will follow, once we have x86_64 relocation support. llvm-svn: 98926
-
Daniel Dunbar authored
- These find the defining symbol which identifies the containing atom for a symbol or address. They are currently very slow, but will be eliminated eventually. llvm-svn: 98925
-
Daniel Dunbar authored
llvm-svn: 98924
-
Daniel Dunbar authored
MC/Mach-O: Factor out isSymbolLinkerVisible method; "linker visible" is a made up term to refer to non-temporary labels + temporary labels in sections-which-require symbols. For Darwin, it corresponds to symbols which effectively define an atom. llvm-svn: 98923
-
- Mar 18, 2010
-
-
Daniel Dunbar authored
MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will need this for accessing to symbol modifiers. llvm-svn: 98791
-
Daniel Dunbar authored
MC/Darwin: Add a new target hook for whether the target uses "reliable" symbol differences, basically whether the assembler should attempt to understand atoms when using scattered symbols. Also, avoid some virtual call overhead. llvm-svn: 98789
-
- Mar 17, 2010
-
-
Chris Lattner authored
should use CreateTempSymbol() if they don't care about the name. llvm-svn: 98712
-
- Mar 16, 2010
-
-
Daniel Dunbar authored
- Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue. - This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol. llvm-svn: 98592
-
- Mar 15, 2010
-
-
Daniel Dunbar authored
MC/Mach-O/x86_64: Temporary labels in cstring sections require symbols (and external relocations, but we don't have x86_64 relocations yet). llvm-svn: 98583
-
Daniel Dunbar authored
llvm-svn: 98582
-
Chris Lattner authored
allocated and thus not freed. This is cool except that it contains and std::string so the string data didn't get freed. In any case there is no reason to redundantly store the string data in the MCSymbol anyway, just make the MCSymbol ref the string data in the MCContext StringMap. llvm-svn: 98536
-
- Mar 14, 2010
-
-
Chris Lattner authored
CreateTempSymbol vs GetOrCreateTemporarySymbol are completely different. llvm-svn: 98486
-
Daniel Dunbar authored
llvm-svn: 98464
-
- Mar 13, 2010
-
-
Daniel Dunbar authored
llvm-svn: 98456
-
Daniel Dunbar authored
llvm-svn: 98454
-
-
Daniel Dunbar authored
relative to the fragment address, not its offset. This was masked by the text section normally being at address 0. llvm-svn: 98420
-
Daniel Dunbar authored
compiler may not lead with the text section. llvm-svn: 98418
-
- Mar 12, 2010
-
-
Daniel Dunbar authored
- The implementation is currently very brain dead and inefficient, but I have a clear plan on how to fix it. - The good news is, it works and correctly assembles 403.gcc (when built with Clang, at '-Os', '-Os -g', and '-O3'). Even better, at '-Os' and '-Os -g', the resulting binary is exactly equivalent to that when built with the system assembler. So it probably works! :) llvm-svn: 98396
-
Chris Lattner authored
llvm-svn: 98384
-
Daniel Dunbar authored
llvm-svn: 98381
-
Daniel Dunbar authored
llvm-svn: 98380
-
Daniel Dunbar authored
llvm-svn: 98379
-
Chris Lattner authored
can get it from the context now. llvm-svn: 98361
-
- Mar 11, 2010
-
-
Chris Lattner authored
with an arbitrary unique name. llvm-svn: 98294
-
Chris Lattner authored
llvm-svn: 98293
-
Chris Lattner authored
llvm-svn: 98288
-
Daniel Dunbar authored
llvm-svn: 98266
-
Daniel Dunbar authored
MC/Mach-O: Implement "absolutizing" semantics of .set, by evaluating the assembly time value of variables. llvm-svn: 98241
-
Daniel Dunbar authored
- Also, drop the current location part of AsmLayout, I think I prefer to implement this via explicit symbols. llvm-svn: 98240
-