Skip to content
  1. May 03, 2013
    • Greg Clayton's avatar
      <rdar://problem/13751683> · a80ea127
      Greg Clayton authored
      Make sure to handle all thumb variants correctly.
      
      llvm-svn: 180984
      a80ea127
    • Reid Kleckner's avatar
      Fix missing include in Hexagon code for Release+Asserts · 1c76f155
      Reid Kleckner authored
      llvm-svn: 180983
      1c76f155
    • Adrian Prantl's avatar
      Attempt to un-break the gdb buildbot. · 44f38013
      Adrian Prantl authored
      - Use the debug location of the return expression for the cleanup code
        if the return expression is trivially evaluatable, regardless of the
        number of stop points in the function.
      - Ensure that any EH code in the cleanup still gets the line number of
        the closing } of the lexical scope.
      - Added a testcase with EH in the cleanup.
      
      rdar://problem/13442648
      
      llvm-svn: 180982
      44f38013
    • Ted Kremenek's avatar
      Re-apply 180974 with the build error fixed. This was the result · f12d9d93
      Ted Kremenek authored
      of a weird merge error with git.
      
      llvm-svn: 180981
      f12d9d93
    • Bill Wendling's avatar
      Use unbuffered I/O. This reduces the runtime by about half. Our implementation... · 6ce98c49
      Bill Wendling authored
      Use unbuffered I/O. This reduces the runtime by about half. Our implementation is now only about 5 times slower than gcc's.
      
      llvm-svn: 180980
      6ce98c49
    • Rafael Espindola's avatar
      Revert "Change LocationContextMap to be a temporary instead of shared variable in BugReporter." · c73756b1
      Rafael Espindola authored
      This reverts commit 180974. It broke the build.
      
      llvm-svn: 180979
      c73756b1
    • John McCall's avatar
      In MC asm parsing, account for the possibility of whitespace within · f73981b2
      John McCall authored
      the "identifier" parsed by the frontend callback by skipping forward
      until we've consumed a token that ends at the point dictated by the
      callback.
      
      In addition, inform the callback when it's parsing an unevaluated
      operand (e.g. mov eax, LENGTH A::x) as opposed to an evaluated one
      (e.g. mov eax, [A::x]).
      
      This commit depends on a clang commit.
      
      llvm-svn: 180978
      f73981b2
    • Andrew Kaylor's avatar
      Adding test for non-API process attach · 46791da6
      Andrew Kaylor authored
      llvm-svn: 180977
      46791da6
    • John McCall's avatar
      Move parsing of identifiers in MS-style inline assembly into · f413f5ed
      John McCall authored
      the actual parser and support arbitrary id-expressions.
      
      We're actually basically set up to do arbitrary expressions here
      if we wanted to.
      
      Assembly operands permit things like A::x to be written regardless
      of language mode, which forces us to embellish the evaluation
      context logic somewhat.  The logic here under template instantiation
      is incorrect;  we need to preserve the fact that an expression was
      unevaluated.  Of course, template instantiation in general is fishy
      here because we have no way of delaying semantic analysis in the
      MC parser.  It's all just fishy.
      
      I've also fixed the serialization of MS asm statements.
      
      This commit depends on an LLVM commit.
      
      llvm-svn: 180976
      f413f5ed
    • Enrico Granata's avatar
      <rdar://problem/11558812> · bfa9fb13
      Enrico Granata authored
      Allow command script import to load packages.
      
      e.g.:
      egranata$ ./lldb
      (lldb) command script import lldb.macosx.crashlog
      "crashlog" and "save_crashlog" command installed, use the "--help" option for detailed help
      "malloc_info", "ptr_refs", "cstr_refs", and "objc_refs" commands have been installed, use the "--help" options on these commands for detailed help.
      The "unwind-diagnose" command has been installed, type "help unwind-diagnose" for detailed help.
      (lldb) 
      
      ./lldb
      (lldb) command script import theFoo
      I am happy
      (lldb) fbc
      àèìòù
      (lldb)
      
      egranata$ ls theFoo/
      __init__.py theBar.py
      
      egranata$ cat theFoo/__init__.py 
      import lldb
      import theBar
      
      def __lldb_init_module(debugger, internal_dict):
      	print "I am happy"
      	debugger.HandleCommand("command script add -f theFoo.theBar.theCommand fbc")
      	return None
      
      egranata$ cat theFoo/theBar.py 
      #encoding=utf-8
      
      def theCommand(debugger, command, result, internal_dict):
      	result.PutCString(u"àèìòù")
      	return None
      
      llvm-svn: 180975
      bfa9fb13
    • Ted Kremenek's avatar
      Change LocationContextMap to be a temporary instead of shared variable in BugReporter. · 48bd5fdd
      Ted Kremenek authored
      BugReporter is used to process ALL bug reports.  By using a shared map,
      we are having mappings from different PathDiagnosticPieces to LocationContexts
      well beyond the point where we are processing a given report.  This
      state is inherently error prone, and is analogous to using a global
      variable.  Instead, just create a temporary map, one per report,
      and when we are done with it we throw it away.  No extra state.
      
      llvm-svn: 180974
      48bd5fdd
    • Douglas Gregor's avatar
      Use attribute argument information to determine when to parse attribute arguments as expressions. · d2472d4c
      Douglas Gregor authored
      This change partly addresses a heinous problem we have with the
      parsing of attribute arguments that are a lone identifier. Previously,
      we would end up parsing the 'align' attribute of this as an expression
      "(Align)":
      
       template<unsigned Size, unsigned Align>
       class my_aligned_storage
       {
         __attribute__((align((Align)))) char storage[Size];
       };
      
      while this would parse as a "parameter name" 'Align':
      
       template<unsigned Size, unsigned Align>
       class my_aligned_storage
       {
         __attribute__((align(Align))) char storage[Size];
       };
      
      The code that handles the alignment attribute would completely ignore
      the parameter name, so the while the first of these would do what's
      expected, the second would silently be equivalent to
      
       template<unsigned Size, unsigned Align>
       class my_aligned_storage
       {
         __attribute__((align)) char storage[Size];
       };
      
      i.e., use the maximal alignment rather than the specified alignment.
      
      Address this by sniffing the "Args" provided in the TableGen
      description of attributes. If the first argument is "obviously"
      something that should be treated as an expression (rather than an
      identifier to be matched later), parse it as an expression.
      
      Fixes <rdar://problem/13700933>.
      
      llvm-svn: 180973
      d2472d4c
    • Douglas Gregor's avatar
      Revert r180970; it's causing breakage. · 33ebfe36
      Douglas Gregor authored
      llvm-svn: 180972
      33ebfe36
    • Jim Ingham's avatar
      If HandleCommands is called with add_to_history set to false, turn on the... · 076b7fc6
      Jim Ingham authored
      If HandleCommands is called with add_to_history set to false, turn on the m_command_source_depth so that when we forget the value for regex & alias commands it still stays off.
      
      <rdar://problem/13795202>
      
      llvm-svn: 180971
      076b7fc6
    • Douglas Gregor's avatar
      Use attribute argument information to determine when to parse attribute arguments as expressions. · 44dff3f2
      Douglas Gregor authored
      This change partly addresses a heinous problem we have with the
      parsing of attribute arguments that are a lone identifier. Previously,
      we would end up parsing the 'align' attribute of this as an expression
      "(Align)":
      
        template<unsigned Size, unsigned Align>
        class my_aligned_storage
        {
          __attribute__((align((Align)))) char storage[Size];
        };
      
      while this would parse as a "parameter name" 'Align':
      
        template<unsigned Size, unsigned Align>
        class my_aligned_storage
        {
          __attribute__((align(Align))) char storage[Size];
        };
      
      The code that handles the alignment attribute would completely ignore
      the parameter name, so the while the first of these would do what's
      expected, the second would silently be equivalent to
      
        template<unsigned Size, unsigned Align>
        class my_aligned_storage
        {
          __attribute__((align)) char storage[Size];
        };
      
      i.e., use the maximal alignment rather than the specified alignment.
      
      Address this by sniffing the "Args" provided in the TableGen
      description of attributes. If the first argument is "obviously"
      something that should be treated as an expression (rather than an
      identifier to be matched later), parse it as an expression.
      
      Fixes <rdar://problem/13700933>.
      
      llvm-svn: 180970
      44dff3f2
    • Akira Hatanaka's avatar
      [mips] Handle reading, writing or copying of ccond field of DSP control · 5705f546
      Akira Hatanaka authored
      register.
      
      - Define pseudo instructions which store or load ccond field of the DSP
        control register.
      - Emit the pseudos in MipsSEInstrInfo::storeRegToStack and loadRegFromStack.
      - Expand the pseudos before callee-scan save.
      - Emit instructions RDDSP or WRDSP to copy between ccond field and GPRs. 
      
      llvm-svn: 180969
      5705f546
    • Bill Wendling's avatar
      Remove redundant flag. · 952e8dfa
      Bill Wendling authored
      llvm-svn: 180968
      952e8dfa
    • Bill Wendling's avatar
      Remove redundant flag. · d0a790a5
      Bill Wendling authored
      llvm-svn: 180967
      d0a790a5
    • Enrico Granata's avatar
      <rdar://problem/13732521> · 78081be1
      Enrico Granata authored
      Updated the logic for the Sketch test case
      
      llvm-svn: 180966
      78081be1
    • Greg Clayton's avatar
      Mark TestConstVariables as expected to fail due to radar 13314878 on darwin.... · 5378bbae
      Greg Clayton authored
      Mark TestConstVariables as expected to fail due to radar 13314878 on darwin. The tests are already skipped on linux.
      
      llvm-svn: 180965
      5378bbae
    • Jyotsna Verma's avatar
      reverting r180953 · a841af75
      Jyotsna Verma authored
      llvm-svn: 180964
      a841af75
    • Greg Clayton's avatar
      <rdar://problem/13788674> · 864fa8c0
      Greg Clayton authored
      TestPlatformCommand failing on buildbot.
      
      llvm-svn: 180963
      864fa8c0
    • Jason Molenda's avatar
      If the Target's current architecture is incompatible with the kernel · a4ce2538
      Jason Molenda authored
      DynamicLoaderDarwinKernel finds in memory, have DynamicLoaderDarwinKernel
      re-set the Target's arch based on the kernel's cpu type / cpu subtype.
      
      llvm-svn: 180962
      a4ce2538
    • Greg Clayton's avatar
      <rdar://problem/13788579> · 6ad52695
      Greg Clayton authored
      TestRegisters failing on buildbot on MacOSX. Some registers that were valid for linux/freebsd, were not valid on MacOSX. The tests now allow a register be skipped if it doesn't exist on the host.
      
      llvm-svn: 180961
      6ad52695
  2. May 02, 2013
Loading