Skip to content
  1. Apr 13, 2010
  2. Apr 12, 2010
  3. Apr 11, 2010
  4. Apr 10, 2010
  5. Apr 09, 2010
  6. Apr 08, 2010
    • Sean Callanan's avatar
      Added support for ARM disassembly to edis. · 03549ee5
      Sean Callanan authored
      I also added a rule to the ARM target's Makefile to
      build the ARM-specific instruction information table
      for the enhanced disassembler.
      
      I will add the test harness for all this stuff in
      a separate commit.
      
      llvm-svn: 100735
      03549ee5
  7. Apr 06, 2010
    • Chris Lattner's avatar
      add .o file writing for inline asm in llc. Here's a silly · 8900ef19
      Chris Lattner authored
      demo:
      
      $ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o
      <inline asm>:1:2: error: unrecognized instruction
      	abc incl    %eax
      	^
      LLVM ERROR: Error parsing inline asm
      
      Only problem seems to be that the parser finalizes OutStreamer 
      at the end of the first inline asm, which isn't what we want.
      For example:
      
      $ cat asm.c
      int foo(int X) {
       __asm__ ("incl    %0" : "+r" (X));
       return X;
      }
      $ clang asm.c -S -o - -emit-llvm | llc
      ...
      	subq	$8, %rsp
      	movl	%edi, (%rsp)
      	movl	%edi, %eax
      	## InlineAsm Start
      	incl    %eax
      	## InlineAsm End
      	movl	%eax, (%rsp)
      	movl	%eax, 4(%rsp)
      	addq	$8, %rsp
      	ret
      $ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o
      $ otool -tv t.o
      t.o:
      (__TEXT,__text) section
      _foo:
      0000000000000000	subq	$0x08,%rsp
      0000000000000004	movl	%edi,(%rsp)
      0000000000000007	movl	%edi,%eax
      0000000000000009	incl	%eax
      $ 
      
      don't stop at inc!
      
      llvm-svn: 100491
      8900ef19
    • Chris Lattner's avatar
      tidy #includes. · 3d18e71a
      Chris Lattner authored
      llvm-svn: 100489
      3d18e71a
    • Chris Lattner's avatar
      stringref-ize the MemoryBuffer::get apis. This requires · 0e45d24a
      Chris Lattner authored
      a co-committed clang patch.
      
      llvm-svn: 100485
      0e45d24a
  8. Apr 04, 2010
  9. Apr 03, 2010
  10. Apr 02, 2010
  11. Apr 01, 2010
  12. Mar 30, 2010
  13. Mar 27, 2010
  14. Mar 25, 2010
  15. Mar 24, 2010
  16. Mar 23, 2010
  17. Mar 22, 2010
  18. Mar 20, 2010
Loading