Skip to content
  1. Jan 23, 2012
  2. Jan 21, 2012
  3. Jan 19, 2012
    • Johnny Chen's avatar
      rdar://problem/10712130 · a28b89c7
      Johnny Chen authored
      Fixed an issue where backtick char is not properly honored when setting the frame-format variable, like the following:
      
      (lldb) settings set frame-format frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}{ at ${line.file.basename}:${line.number}}\n
      (lldb) settings show frame-format
      frame-format (string) = "frame #${frame.index}: ${frame.pc}{ `${module.file.basename}{${function.name-with-args}${function.pc-offset}}}{` at ${line.file.basename}:${line.number}}\n"
      (lldb)
      
      o CommandObjectSettings.h/.cpp:
      
        Modify the command object impl to require raw command string instead of parsed command string,
        which also fixes an outstanding issue that customizing the prompt with trailing spaces doesn't
        work.
      
      o Args.cpp:
      
        During CommandInterpreter::HandleCommand(), there is a PreprocessCommand phase which already
        strips/processes pairs of backticks as an expression eval step.  There's no need to treat
        a backtick as starting a quote.
      
      o TestAbbreviations.py and change_prompt.lldb:
      
        Fixed incorrect test case/logic.
      
      o TestSettings.py:
      
        Remove expectedFailure decorator.
      
      llvm-svn: 148491
      a28b89c7
  4. Jan 18, 2012
  5. Jan 17, 2012
  6. Jan 13, 2012
  7. Jan 12, 2012
    • Johnny Chen's avatar
      rdar://problem/10492827 · 5886fb5b
      Johnny Chen authored
      SBProcess.GetSTDERR() not getting stderr of the launched process
      
      Since we are launch the inferior with:
      
          process = target.LaunchSimple(None, None, os.getcwd())
      
      i.e., without specifying stdin/out/err.  A pseudo terminal is used for
      handling the process I/O, and we are satisfied once the expected output
      appears in process.GetSTDOUT().
      
      llvm-svn: 147983
      5886fb5b
  8. Jan 11, 2012
  9. Jan 10, 2012
    • Johnny Chen's avatar
      Refactor the test/types directory to reduce some stupid reduant code. · c256b99a
      Johnny Chen authored
      Also add test cases to the test suite to exercise displaying of variables captured inside a block (Darwin-only).
      
      llvm-svn: 147828
      c256b99a
    • Johnny Chen's avatar
      Add a CFLAGS_EXTRAS make variable to be able to pass things (like... · beac8f99
      Johnny Chen authored
      Add a CFLAGS_EXTRAS make variable to be able to pass things (like '-DTEST_BLOCK_CAPTURED_VARS') to the compile phase.
      
      Plus add a DYLIB_ONLY make variable that can be used to turn off compilation/building of a.out. Example:
      
      [16:39:21] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make clean
      rm -rf "a.out" "a.out.dSYM"  main.o main.d a.o a.d liba.dylib liba.dylib.dSYM
      [16:39:24] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make DYLIB_ONLY=YES
      clang -gdwarf-2 -O0   -arch x86_64   -c -o a.o a.c
      clang -gdwarf-2 -O0   -arch x86_64  a.o -install_name "@executable_path/liba.dylib" -dynamiclib -o "liba.dylib"
      [16:39:30] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $
      
      llvm-svn: 147821
      beac8f99
    • Greg Clayton's avatar
      Update makefile rules to support C++ files in shared libraries and fix how · d50d2380
      Greg Clayton authored
      the linker driver is found.
      
      llvm-svn: 147814
      d50d2380
  10. Jan 09, 2012
  11. Jan 07, 2012
  12. Jan 06, 2012
  13. Jan 05, 2012
    • Sean Callanan's avatar
      Fixed a problem in our local Clang's method for · 3c88eae1
      Sean Callanan authored
      performing Objective-C instance variable lookup.
      Previously, it only completed the derived class
      that was the beginning of the search.  Now, as
      it walks up the superclass chain looking for the
      ivar, it completes each superclass in turn.
      
      Also added a testcase covering this issue.
      
      llvm-svn: 147621
      3c88eae1
  14. Dec 29, 2011
    • Greg Clayton's avatar
      <rdar://problem/10546739> · dcad5021
      Greg Clayton authored
      Fixed SBValue::GetValueAsUnsigned() and SBValue::GetValueAsSigned() calls to
      work for bitfields.
      
      llvm-svn: 147332
      dcad5021
  15. Dec 23, 2011
  16. Dec 22, 2011
  17. Dec 21, 2011
    • Sean Callanan's avatar
      The "desired result type" code in the expression · 20bb3aa5
      Sean Callanan authored
      parser has hitherto been an implementation waiting
      for a use.  I have now tied the '-o' option for
      the expression command -- which indicates that the
      result is an Objective-C object and needs to be
      printed -- to the ExpressionParser, which
      communicates the desired type to Clang.
      
      Now, if the result of an expression is determined
      by an Objective-C method call for which there is
      no type information, that result is implicitly
      cast to id if and only if the -o option is passed
      to the expression command.  (Otherwise if there
      is no explicit cast Clang will issue an error.
      This behavior is identical to what happened before
      r146756.)
      
      Also added a testcase for -o enabled and disabled.
      
      llvm-svn: 147099
      20bb3aa5
    • Johnny Chen's avatar
      Fix wrong test method name. · 4b730a73
      Johnny Chen authored
      llvm-svn: 147072
      4b730a73
  18. Dec 20, 2011
Loading