Skip to content
  1. Apr 10, 2012
    • Richard Smith's avatar
      Disambiguation of '[[': · 7bdcc4a9
      Richard Smith authored
       * In C++11, '[[' is ill-formed unless it starts an attribute-specifier. Reject
         array sizes and array indexes which begin with a lambda-expression. Recover by
         parsing the lambda as a lambda.
       * In Objective-C++11, either '[' could be the start of a message-send.
         Fully disambiguate this case: it turns out that the grammars of message-sends,
         lambdas and attributes do not actually overlap. Accept any occurrence of '[['
         where either '[' starts a message send, but reject a lambda in an array index
         just like in C++11 mode.
      
      Implement a couple of changes to the attribute wording which occurred after our
      attributes implementation landed:
       * In a function-declaration, the attributes go after the exception specification,
         not after the right paren.
       * A reference type can have attributes applied.
       * An 'identifier' in an attribute can also be a keyword. Support for alternative
         tokens (iso646 keywords) in attributes to follow.
      
      And some bug fixes:
       * Parse attributes after declarator-ids, even if they are not simple identifiers.
       * Do not accept attributes after a parenthesized declarator.
       * Accept attributes after an array size in a new-type-id.
       * Partially disamiguate 'delete' followed by a lambda. More work is required
         here for the case where the lambda-introducer is '[]'.
      
      llvm-svn: 154369
      7bdcc4a9
    • Jim Ingham's avatar
      Two changes, · 076b3041
      Jim Ingham authored
      1) Start the PrivateStateThread stopped, and then in
      StartPrivateStateThread, make the private state thread and then
      resume it before we say the thread is created.  That way we know it is
      listening for events by the time we get out of
      StartPrivateStateThread.
      
      2) Backstop running a thread plan when calling Process::RunThreadPlan
      on the private state thread with a ThreadPlanBase so that running the
      plan doesn't pass its stop events to whatever plans happen to be above
      us on the thread plan stack.
      
      llvm-svn: 154368
      076b3041
    • Jim Ingham's avatar
      Clear the "m_actual_stop_info_sp" in the thread during Destroy. It might be a... · d8ba464b
      Jim Ingham authored
      Clear the "m_actual_stop_info_sp" in the thread during Destroy.  It might be a StopInfoThreadPlan, and that would hold onto members that need to be destroyed while the Full thread is still around.
      
      llvm-svn: 154366
      d8ba464b
    • Greg Clayton's avatar
      Trying to solve our disappearing thread issues by making thread list updates safer. · 9fc13556
      Greg Clayton authored
      The current ProcessGDBRemote function that updates the threads could end up with an empty list if any other thread had the sequence mutex. We now don't clear the thread list when we can't access it, and we also have changed how lldb_private::Process handles the return code from the:
      
      virtual bool
      Process::UpdateThreadList (lldb_private::ThreadList &old_thread_list, 
                             	   lldb_private::ThreadList &new_thread_list) = 0;
      
      A bool is now returned to indicate if the list was actually updated or not and the lldb_private::Process class will only update the stop ID of the validity of the thread list if "true" is returned.
      
      The ProcessGDBRemote also got an extra assertion that will hopefully assert when running debug builds so we can find the source of this issue.
      
      llvm-svn: 154365
      9fc13556
    • Rafael Espindola's avatar
      Don't try to zExt just to check if an integer constant is zero, it might · 1d9672bd
      Rafael Espindola authored
      not fit in a i64.
      
      llvm-svn: 154364
      1d9672bd
    • Rafael Espindola's avatar
      Fix the testcase :-( · fc1562db
      Rafael Espindola authored
      llvm-svn: 154363
      fc1562db
    • Jim Grosbach's avatar
      ARM LDR/LDRT has the same encoding collision as STR/STRT. · 8f99bc3a
      Jim Grosbach authored
      Generalized logic of r154141.
      
      llvm-svn: 154362
      8f99bc3a
    • Enrico Granata's avatar
      Fixing a problem where some uninitialized cases of vectors could cause... · cb50d341
      Enrico Granata authored
      Fixing a problem where some uninitialized cases of vectors could cause diagnostic output from the synthetic children providers - this time the fix should work
      
      llvm-svn: 154361
      cb50d341
    • Fariborz Jahanian's avatar
      objective-c modern translator: rewriting specific · 2c00acd6
      Fariborz Jahanian authored
      implicit casts which is needed to produce good c++
      code. // rdar://11202764
      
      llvm-svn: 154360
      2c00acd6
    • Lang Hames's avatar
      Test case for PR12495. · ec96cd06
      Lang Hames authored
      llvm-svn: 154359
      ec96cd06
    • Rafael Espindola's avatar
      Fix an annoying little bug I found while debugging another LTO issue. Gold · 9446d76e
      Rafael Espindola authored
      requires the -plugin to come before any -plugin-opt options, we were passing
      them the other way around. With this one can run (for example):
      
      clang -o foo foo.c -O4 -Wl,-plugin-opt=generate-api-file
      
      llvm-svn: 154357
      9446d76e
    • Bill Wendling's avatar
      Revert the 'EnableInitializing' flag. There is debate on whether we should run... · b5cedde6
      Bill Wendling authored
      Revert the 'EnableInitializing' flag. There is debate on whether we should run that pass by default in LTO.
      
      llvm-svn: 154356
      b5cedde6
    • Greg Clayton's avatar
      Added a packet history object to the GDBRemoteCommunication class that is... · c1422c1d
      Greg Clayton authored
      Added a packet history object to the GDBRemoteCommunication class that is always remembering the last 512 packets that were sent/received. These packets get dumped if logging gets enabled, or when the new expr lldb::DumpProcessGDBRemotePacketHistory (void *process, const char *log_file_path) global function is called.
      
      llvm-svn: 154354
      c1422c1d
    • Greg Clayton's avatar
      Removed an include that wasn't needed. · 5c610547
      Greg Clayton authored
      llvm-svn: 154353
      5c610547
    • Greg Clayton's avatar
      Fixed an issue that could occur when looking up functions inside of a... · 437a135d
      Greg Clayton authored
      Fixed an issue that could occur when looking up functions inside of a namespace where if the NamespaceDecl hadn't been parsed yet, we would say a function wasn't in a namespace.
      
      Also improved the logging that happens with "log enable dwarf lookups" is enabled to show when we find matches.
      
      llvm-svn: 154352
      437a135d
    • Jim Ingham's avatar
      Rework how master plans declare themselves. Also make "PlanIsBasePlan" not... · cf274f91
      Jim Ingham authored
      Rework how master plans declare themselves.  Also make "PlanIsBasePlan" not rely only on this being the bottom plan in the stack, but allow the plan to declare itself as such.
      
      llvm-svn: 154351
      cf274f91
    • Bill Wendling's avatar
      Apply the scope restrictions after parsing the command line options. There may... · 383fda29
      Bill Wendling authored
      Apply the scope restrictions after parsing the command line options. There may be some which are used in that function.
      
      llvm-svn: 154348
      383fda29
    • Fariborz Jahanian's avatar
      Remove -fobjc-default-synthesize-properties as the option · b5aa4321
      Fariborz Jahanian authored
      to c-index-test.
      
      llvm-svn: 154347
      b5aa4321
  2. Apr 09, 2012
Loading