Skip to content
  1. Oct 02, 2013
    • Jordan Rose's avatar
      [analyzer] Add missing return after function pointer null check. · 44e066c7
      Jordan Rose authored
      Also add some tests that there is actually a message and that the bug is
      actually a hard error. This actually behaved correctly before, because:
      
      - addTransition() doesn't actually add a transition if the new state is null;
        it assumes you want to propagate the predecessor forward and does nothing.
      - generateSink() is called in order to emit a bug report.
      - If at least one new node has been generated, the predecessor node is /not/
        propagated forward.
      
      But now it's spelled out explicitly.
      
      Found by Richard Mazorodze, who's working on a patch that may require this.
      
      llvm-svn: 191805
      44e066c7
    • Filip Pizlo's avatar
      This threads SectionName through the allocateCodeSection/allocateDataSection... · 7aa695e0
      Filip Pizlo authored
      This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land.  
      It's useful for the memory managers that are allocating a section to know what the name of the section is.  
      At a minimum, this is useful for low-level debugging - it's customary for JITs to be able to tell you what 
      memory they allocated, and as part of any such dump, they should be able to tell you some meta-data about 
      what each allocation is for.  This allows clients that supply their own memory managers to do this.  
      Additionally, we also envision the SectionName being useful for passing meta-data from within LLVM to an LLVM 
      client.
      
      This changes both the C and C++ APIs, and all of the clients of those APIs within LLVM.  I'm assuming that 
      it's safe to change the C++ API because that API is allowed to change.  I'm assuming that it's safe to change 
      the C API because we haven't shipped the API in a release yet (LLVM 3.3 doesn't include the MCJIT memory 
      management C API).
      
      llvm-svn: 191804
      7aa695e0
    • Jason Molenda's avatar
      Update RNBRemote to handle the new pseudo_regs field added to DNBRegisterInfo · f2dd4ef1
      Jason Molenda authored
      back in r173096 by Greg.  When constructing a g packet or parsing a G packet,
      and we're iterate over our register list, skip registers that are actually
      just slices of other, real, registers.  For instance, eax is 32-bits of rax
      on x86_64.
      <rdar://problem/15104187> 
      
      llvm-svn: 191802
      f2dd4ef1
    • Manman Ren's avatar
      Debug Info: update testing cases when the derived-from field of a · 8a35855c
      Manman Ren authored
      DW_TAG_pointer_type is updated to use DITypeRef.
      
      Paired commit with r191800.
      
      llvm-svn: 191801
      8a35855c
    • Manman Ren's avatar
      Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type · 9a0a6703
      Manman Ren authored
      is updated to use DITypeRef.
      
      Move isUnsignedDIType and getOriginalTypeSize from DebugInfo.h to be static
      helper functions in DwarfCompileUnit. We already have a static helper function
      "isTypeSigned" in DwarfCompileUnit, and a pointer to DwarfDebug is added to
      resolve the derived-from field. All three functions need to go across link
      for derived-from fields, so we need to get hold of a type identifier map.
      
      A pointer to DwarfDebug is also added to DbgVariable in order to resolve the
      derived-from field.
      
      Debug info verifier is updated to check a derived-from field is a TypeRef.
      Verifier will not go across link for derived-from fields, in debug info finder,
      we go across the link to add derived-from fields to types.
      
      Function getDICompositeType is only used by dragonegg and since dragonegg does
      not generate identifier for types, we use an empty map to resolve the
      derived-from field.
      
      When printing a derived-from field, we use DITypeRef::getName to either return
      the type identifier or getName of the DIType.
      
      A paired commit at clang is required due to changes to DIBuilder.
      
      llvm-svn: 191800
      9a0a6703
    • Quentin Colombet's avatar
      [llvm-c][Disassembler] Add an option to reproduce in disassembled output the · 93a98aac
      Quentin Colombet authored
      comments issued with verbose assembly.
      E.g., on a vector shuffle operation, disassembled output are:
      * Without the option:
      vpshufd $-0x79, (%rsp), %xmm0
      
      * With the option:
      vpshufd $-0x79, (%rsp), %xmm0   ## xmm0 = mem[3,1,0,2]
      
      This part of <rdar://problem/14687488>.
      
      llvm-svn: 191799
      93a98aac
    • Kaelyn Uhrain's avatar
      Fix a typo suggestion regression introduced by r191544. · 07e62726
      Kaelyn Uhrain authored
      llvm-svn: 191798
      07e62726
  2. Oct 01, 2013
Loading