- Apr 07, 2010
-
-
Bill Wendling authored
llvm-svn: 100616
-
Benjamin Kramer authored
llvm-svn: 100615
-
Chris Lattner authored
Have the asmprinter use the mdnode to scavenge a source location if present. Document this nonsense in langref. llvm-svn: 100607
-
Chris Lattner authored
llvm-svn: 100606
-
Dale Johannesen authored
into AsmPrinter. Target-dependent form is still generated by FastISel and still handled in X86 code. llvm-svn: 100596
-
Devang Patel authored
Do not emit specification DIE with DW_AT_specification attribute for member functions of a funcation local class. This trips gdb's partial scan of DIEs at load time. Fixes Radar 7833483. llvm-svn: 100586
-
John McCall authored
solution. The only reason these don't fire with gcc-4.2 is that gcc turns off part of -Wsign-compare in C++ on accident. llvm-svn: 100581
-
Dale Johannesen authored
llvm-svn: 100578
-
Dale Johannesen authored
There is probably a more elegant way to do this. llvm-svn: 100573
-
- Apr 06, 2010
-
-
Stuart Hastings authored
llvm-svn: 100563
-
Stuart Hastings authored
A certain GDB testsuite case (local.cc) has a function nested inside a class nested inside another function. GCC presents the innermost function to llvm-convert first. Heretofore, the debug info mistakenly placed the inner function at module scope. This patch walks the GCC context links and instantiates the outer class and function so the debug info is properly nested. Radar 7426545. llvm-svn: 100530
-
Chris Lattner authored
llvm-svn: 100510
-
Chris Lattner authored
llvm-svn: 100509
-
Devang Patel authored
llvm-svn: 100505
-
Chris Lattner authored
the stream. New demo: $ 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 000000000000000b movl %eax,(%rsp) 000000000000000e movl %eax,0x04(%rsp) 0000000000000012 addq $0x08,%rsp 0000000000000016 ret llvm-svn: 100492
-
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
-
Bill Wendling authored
the FP encoding directly as a hex representation. llvm-svn: 100487
-
Chris Lattner authored
a co-committed clang patch. llvm-svn: 100485
-
- Apr 05, 2010
-
-
Chris Lattner authored
instantiating some folding set stuff that GCC isn't, requiring some types to not be incomplete. I don't know if clang is right or wrong, but unbreaking the bot is goodness. Here's the broken build: http://google1.osuosl.org:8011/builders/clang-x86_64-darwin10-selfhost/builds/1813/steps/compile.llvm.stage2/logs/stdio llvm-svn: 100418
-
Chris Lattner authored
llvm-svn: 100410
-
Chris Lattner authored
llvm-svn: 100409
-
Chris Lattner authored
llvm-svn: 100408
-
Chris Lattner authored
llvm-svn: 100407
-
Chris Lattner authored
llvm-svn: 100406
-
Chris Lattner authored
instead of going through DwarfWriter. llvm-svn: 100405
-
Chris Lattner authored
need it anymore, so don't addRequire it. llvm-svn: 100400
-
Chris Lattner authored
llvm-svn: 100386
-
Chris Lattner authored
llvm-svn: 100385
-
Chris Lattner authored
llvm-svn: 100381
-
Chris Lattner authored
llvm-svn: 100377
-
Chris Lattner authored
llvm-svn: 100375
-
Chris Lattner authored
llvm-svn: 100374
-
Chris Lattner authored
simplifying a bunch of code. llvm-svn: 100373
-
Chris Lattner authored
2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372
-
Chris Lattner authored
llvm-svn: 100371
-
Chris Lattner authored
llvm-svn: 100369
-
Chris Lattner authored
llvm-svn: 100368
-
Chris Lattner authored
which is really a property of the section being referenced. Add a predicate to MCSection to replace it. Yay for reduction in magic. llvm-svn: 100367
-
Chris Lattner authored
regtest failures. llvm-svn: 100366
-
Chris Lattner authored
llvm-svn: 100365
-