Skip to content
  1. Feb 17, 2009
    • Bill Wendling's avatar
      --- Merging (from foreign repository) r64714 into '.': · 3c50922e
      Bill Wendling authored
      U    include/llvm/CodeGen/DebugLoc.h
      U    lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
      U    lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
      U    lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
      
      Enable debug location generation at -Os. This goes with the reapplication of the
      r63639 patch.
      
      llvm-svn: 64715
      3c50922e
  2. Feb 06, 2009
  3. Jan 28, 2009
  4. Jan 23, 2009
  5. Jan 15, 2009
  6. Jan 12, 2009
  7. Jan 09, 2009
  8. Dec 05, 2008
  9. Dec 04, 2008
    • Bill Wendling's avatar
      Temporarily revert r60519. It was causing a bootstrap failure: · 6949f613
      Bill Wendling authored
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc.src/libgomp -I. -I../../../llvm-gcc.src/libgomp/config/posix -I../../../llvm-gcc.src/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT barrier.lo -MD -MP -MF .deps/barrier.Tpo -c ../../../llvm-gcc.src/libgomp/barrier.c  -fno-common -DPIC -o .libs/barrier.o
      checking for sys/file.h... /var/folders/zG/zGE-ZJOGFiGjv0B5cs5oYE+++TM/-Tmp-//cc34Jg5P.s:13:non-relocatable subtraction expression, "_gomp_tls_key" minus "L1$pb"
      /var/folders/zG/zGE-ZJOGFiGjv0B5cs5oYE+++TM/-Tmp-//cc34Jg5P.s:13:symbol: "_gomp_tls_key" can't be undefined in a subtraction expression
      make[4]: *** [barrier.lo] Error 1
      make[4]: *** Waiting for unfinished jobs....
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc.src/libgomp -I. -I../../../llvm-gcc.src/libgomp/config/posix -I../../../llvm-gcc.src/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c ../../../llvm-gcc.src/libgomp/alloc.c -o alloc.o >/dev/null 2>&1
      yes
      checking for sys/param.h... make[3]: *** [all-recursive] Error 1
      make[2]: *** [all] Error 2
      make[1]: *** [all-target-libgomp] Error 2
      make[1]: *** Waiting for unfinished jobs....
      
      llvm-svn: 60527
      6949f613
    • Evan Cheng's avatar
  10. Nov 22, 2008
  11. Nov 15, 2008
  12. Nov 09, 2008
  13. Nov 08, 2008
  14. Nov 07, 2008
    • Dan Gohman's avatar
      Flush the raw_ostream after emitting the assembly for a function. · cb0df597
      Dan Gohman authored
      This is a temporary fix for the -print-emitted-asm option, where
      errs() is used as the stream, in the case where other code is
      using stderr without using errs()' buffer. Hopefully soon we'll
      fix errs() to be non-buffered instead. Patch by Preston Gurd.
      
      llvm-svn: 58859
      cb0df597
  15. Oct 22, 2008
  16. Oct 06, 2008
  17. Oct 03, 2008
  18. Oct 02, 2008
  19. Sep 29, 2008
  20. Sep 27, 2008
  21. Sep 26, 2008
    • Bill Wendling's avatar
      If we have a function with an unreachable statement such that the ending debug · 374d7f2b
      Bill Wendling authored
      information is in an unreachable block, then it's possible that the high/low pc
      values won't be set for the dwarf information. E.g., this function:
      
      void abort(void) __attribute__((__noreturn__));
      void dead_beef(void) __attribute__ ((noreturn));
      
      int *b;
      
      void dead_beef(void) {
        *b=0xdeadbeef;
        abort();
      }
      
      has a call to "@llvm.dbg.region.end" only in the unreachable block:
      
      define void @dead_beef() noreturn nounwind  {
      entry:
      	call void @llvm.dbg.func.start(...)
      	call void @llvm.dbg.stoppoint(...)
      ...
      	call void @abort( ) noreturn nounwind 
      	unreachable
      
      return:		; No predecessors!
      	call void @llvm.dbg.stoppoint(...)
      	call void @llvm.dbg.region.end(...)
      	ret void
      }
      
      The dwarf information emitted is something like:
      
      0x00000084:     TAG_subprogram [5]  
                       AT_name( "dead_beef" )
                       AT_external( 0x01 )
                       AT_prototyped( 0x01 )
                       AT_decl_file( 0x01 )
                       AT_decl_line( 0x08 )
      
      Note that this is *not* the best fix for this problem, but a band-aid for an
      gaping wound. This code needs to be changed when we revamp our debugging
      information.
      
      llvm-svn: 56628
      374d7f2b
  22. Sep 25, 2008
  23. Sep 24, 2008
  24. Sep 23, 2008
  25. Sep 22, 2008
  26. Sep 20, 2008
  27. Sep 09, 2008
  28. Sep 04, 2008
  29. Aug 24, 2008
  30. Aug 21, 2008
  31. Aug 18, 2008
Loading