Skip to content
  1. Mar 04, 2011
    • Andrew Trick's avatar
      Minor pre-RA-sched fixes and cleanup. · c88b7ecb
      Andrew Trick authored
      Fix the PendingQueue, then disable it because it's not required for
      the current schedulers' heuristics.
      Fix the logic for the unused list-ilp scheduler.
      
      llvm-svn: 126981
      c88b7ecb
    • Johnny Chen's avatar
      Add objc source file and Makefile. Test case to follow. · 60a084a2
      Johnny Chen authored
      llvm-svn: 126980
      60a084a2
    • Johnny Chen's avatar
      Add the ability for the test suite to specify a list of compilers and a list of architectures · e0ec9ea5
      Johnny Chen authored
      on the command line.  For example, use '-A x86_64^i386' to launch the inferior use both x86_64
      and i386.
      
      This is an example of building the debuggee using both clang and gcc compiers:
      
      [17:30:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -C clang^gcc -v -f SourceManagerTestCase.test_modify_source_file_while_debugging
      
      Session logs for test failures/errors will go into directory '2011-03-03-17_31_39'
      Command invoked: python ./dotest.py -C clang^gcc -v -f SourceManagerTestCase.test_modify_source_file_while_debugging
      
      Configuration:  compiler=clang
      ----------------------------------------------------------------------
      Collected 1 test
      
      1: test_modify_source_file_while_debugging (TestSourceManager.SourceManagerTestCase)
         Modify a source file while debugging the executable. ... Command 'run' failed!
      
      original content: #include <stdio.h>
      
      int main(int argc, char const *argv[]) {
          printf("Hello world.\n"); // Set break point at this line.
          return 0;
      }
      
      new content: #include <stdio.h>
      
      int main(int argc, char const *argv[]) {
          printf("Hello lldb.\n"); // Set break point at this line.
          return 0;
      }
      
      os.path.getmtime() after writing new content: 1299202305.0
      content restored to: #include <stdio.h>
      
      int main(int argc, char const *argv[]) {
          printf("Hello world.\n"); // Set break point at this line.
          return 0;
      }
      
      os.path.getmtime() after restore: 1299202307.0
      ok
      
      ----------------------------------------------------------------------
      Ran 1 test in 8.259s
      
      OK
      
      Configuration:  compiler=gcc
      ----------------------------------------------------------------------
      Collected 1 test
      
      1: test_modify_source_file_while_debugging (TestSourceManager.SourceManagerTestCase)
         Modify a source file while debugging the executable. ... original content: #include <stdio.h>
      
      int main(int argc, char const *argv[]) {
          printf("Hello world.\n"); // Set break point at this line.
          return 0;
      }
      
      new content: #include <stdio.h>
      
      int main(int argc, char const *argv[]) {
          printf("Hello lldb.\n"); // Set break point at this line.
          return 0;
      }
      
      os.path.getmtime() after writing new content: 1299202307.0
      content restored to: #include <stdio.h>
      
      int main(int argc, char const *argv[]) {
          printf("Hello world.\n"); // Set break point at this line.
          return 0;
      }
      
      os.path.getmtime() after restore: 1299202309.0
      ok
      
      ----------------------------------------------------------------------
      Ran 1 test in 2.301s
      
      OK
      [17:31:49] johnny:/Volumes/data/lldb/svn/trunk/test $ 
      
      llvm-svn: 126979
      e0ec9ea5
    • Devang Patel's avatar
      Add ArrayRef variant. · 213264c0
      Devang Patel authored
      llvm-svn: 126978
      213264c0
    • Ted Kremenek's avatar
      Correctly handle nested switch statements in CFGBuilder when on switch... · be52871b
      Ted Kremenek authored
      Correctly handle nested switch statements in CFGBuilder when on switch statement has a condition that evaluates to a constant.
      
      llvm-svn: 126977
      be52871b
    • Jakob Stoklund Olesen's avatar
      Precompute block frequencies, pow() isn't free. · c332e727
      Jakob Stoklund Olesen authored
      llvm-svn: 126975
      c332e727
    • James McIlree's avatar
      Expose ConnectRemote API through SBTarget and SBProcess. · 9631aae2
      James McIlree authored
      Patch verified by Greg Clayton prior to checkin.
      
      llvm-svn: 126974
      9631aae2
    • Sean Callanan's avatar
      Fixed a bug in the expression parser where the 'this' · 54366f12
      Sean Callanan authored
      or 'self' variable was not properly read if the compiler
      optimized it into a register.
      
      llvm-svn: 126973
      54366f12
    • Jakob Stoklund Olesen's avatar
      Use an IndexedMap instead of a DenseMap for the live-out cache. · 1a69e233
      Jakob Stoklund Olesen authored
      This speeds up updateSSA() so it only accounts for 5% of the live range
      splitting time.
      
      llvm-svn: 126972
      1a69e233
    • Eli Friedman's avatar
      f63614a9
    • Bill Wendling's avatar
      There are times when the landing pad won't have a call to 'eh.selector' in · f3658f38
      Bill Wendling authored
      it. It's been assumed up til now that it would be in its immediate
      successor. However, this isn't necessarily the case. It could be in one of its
      successor's successors.
      
      Modify the code to more thoroughly check for an 'eh.selector' call in
      successors. It only looks at a successor if we get there as a result of an
      unconditional branch.
      
      Testcase ObjC/exceptions-4.m in r126968.
      
      llvm-svn: 126969
      f3658f38
    • Bob Wilson's avatar
      PR8053: Fix encoding of S bit in some ARM instructions. · f5d23bef
      Bob Wilson authored
      Patch by Zonr Chang!
      
      llvm-svn: 126967
      f5d23bef
  2. Mar 03, 2011
Loading