Skip to content
  1. Jun 24, 2013
  2. Jun 23, 2013
  3. Jun 22, 2013
  4. Jun 21, 2013
    • Sean Silva's avatar
      [yaml2obj][ELF] Don't do disassembly in this test. · 8068ca72
      Sean Silva authored
      This was causing buildbot failures when build without X86 support.
      
      Is there a way to conditionalize the test on the X86 target being
      present?
      
      llvm-svn: 184597
      8068ca72
    • Michael Gottesman's avatar
      [objc-arc-opts] Make IsTrackingImpreciseReleases a const method. · 9799cf7f
      Michael Gottesman authored
      Thanks to Bill Wendling for pointing this out!
      
      llvm-svn: 184593
      9799cf7f
    • Kevin Enderby's avatar
      Improve the time it takes to generating dwarf for assembly source files · 0fd064c1
      Kevin Enderby authored
      that have been run through the 'C' pre-processor.
      
      The implementation of SrcMgr.FindLineNumber() is slow but OK if
      it uses its cache when called multiple times with an SMLoc that is
      forward of the previous call.
      
      In the case of generating dwarf for assembly source files that have
      been run through the 'C' pre-processor we need to calculate the
      logical line number based on the last parsed cpp hash file line
      comment.  And the current code calls SrcMgr.FindLineNumber()
      twice to do this causing its cache not to work and results in very
      slow compile times:
      
      % time /Volumes/SandBox/build-llvm/Debug+Asserts/bin/llvm-mc -triple thumbv7-apple-ios -filetype=obj -o /tmp/x.o mscorlib.dll.E -g
      672.542u 0.299s 11:13.15 99.9%	0+0k 0+2io 2106pf+0w
      
      So we save the info from the last parsed cpp hash file line comment
      to avoid making the second call to SrcMgr.FindLineNumber() most times
      and end up with compile times like:
      
      % time /Volumes/SandBox/build-llvm/Debug+Asserts/bin/llvm-mc -triple thumbv7-apple-ios -filetype=obj -o /tmp/x.o mscorlib.dll.E -g
      3.404u 0.104s 0:03.80 92.1%	0+0k 0+3io 2105pf+0w
      
      rdar://14156934
      
      llvm-svn: 184592
      0fd064c1
Loading