Skip to content
  1. Feb 09, 2014
    • Sean Silva's avatar
      [docs] [tblgen] clarify that code fragments are just string literals · b829418b
      Sean Silva authored
      Fun fact: looking at the TableGen code (around TGParser.cpp:1166), the
      only difference in handling is that adjacent regular string literals are
      concatenated in the parser.
      
      llvm-svn: 201035
      b829418b
    • Sean Silva's avatar
      [docs] [tblgen] There is no "code" type. · 2485c214
      Sean Silva authored
      Code fragments are just fancy string literals.
      
      llvm-svn: 201034
      2485c214
    • Sean Silva's avatar
      [docs] TableGen easter egg: Multiline string literals · cc373354
      Sean Silva authored
      They're called code fragments, but they are really multiline string
      literals. Just spotted this usage in a patch by Aaron using "code
      fragments" for holding documentation text. I remember someone bemoaning
      the lack of multiline string literals in TableGen, so I'm explicitly
      documenting that code fragments are multiline string literals.
      
      Let it be known that any use case needing multiline string literals in
      TableGen (such as descriptions of options, or whatnot) can use use
      code fragments (instead of C-style string concatenation or exceedingly
      long lines). E.g.
      
          class Bar<int n>;
          class Baz<int n>;
          class Doc<string desc> {
              string Desc = desc;
          }
          def Foo : Bar<1>, Baz<3>, Doc<[{
          This Foo is a Bar, and also a Baz. It can take 3 values:
              * Qux
              * Quux
              * Quuux
          }]>;
      
      llvm-svn: 201033
      cc373354
    • Saleem Abdulrasool's avatar
      tools: explicitly cast to avoid a warning · 97497b0f
      Saleem Abdulrasool authored
      llvm-svn: 201032
      97497b0f
    • Richard Smith's avatar
      PR16519, PR18009: When checking a partial specialization for uses of its own · 6056d5e9
      Richard Smith authored
      template parameters, don't look for parameters of outer templates. If a problem
      is found in a default template argument, point the diagnostic at the partial
      specialization (with a note pointing at the default argument) instead of
      pointing it at the default argument and leaving it unclear which partial
      specialization os problematic.
      
      llvm-svn: 201031
      6056d5e9
    • Saleem Abdulrasool's avatar
      tools: handle out-of-line personality 0 decoding · a7053cb9
      Saleem Abdulrasool authored
      In some cases it is possible to have a personality 0 unwinding opcodes in the
      extab (such as when .handlerdata is used in the assembly).  Simply decode the 3
      opcodes for that case.
      
      llvm-svn: 201030
      a7053cb9
    • Saleem Abdulrasool's avatar
      ARM: change attribute tests to use parsed form · 40726a1c
      Saleem Abdulrasool authored
      This makes the tests more readable by using the -arm-attributes decoding support
      in llvm-readobj since that is now available.  Change the invocation commands to
      be similar to other test and use a more precise triple (the tests only require
      ARM EABI support).
      
      llvm-svn: 201029
      40726a1c
  2. Feb 08, 2014
  3. Feb 07, 2014
    • Nikola Smiljanic's avatar
      Improve existing visualizers by: · 958dbe1e
      Nikola Smiljanic authored
      - Properly displaying non null terminated StringRef.
      - Auto expanding pointer types.
      - Displaying real type names for PointerUnions.
      - Using "size" and "capacity" across all containers.
      - Simplifying code where possible.
      
      llvm-svn: 201004
      958dbe1e
    • Greg Clayton's avatar
      Modified ObjectFile::SetLoadAddress() to now be: · 751caf65
      Greg Clayton authored
      ObjectFile::SetLoadAddress (Target &target,
                                  lldb::addr_t value,
                                  bool value_is_offset);
      
      Now "value" is a slide if "value_is_offset" is true, and "value" is an image base address otherwise. All previous usage of this API was using slides.
      
      Updated the ObjectFileELF and ObjectFileMachO SetLoadAddress methods to do the right thing.
      
      Also updated the ObjectFileMachO::SetLoadAddress() function to not load __LINKEDIT when it isn't needed and to only load sections that belong to the executable object file.
      
      llvm-svn: 201003
      751caf65
    • Richard Smith's avatar
      PR16638, DR1552: the exception specification on an implicitly-declared · c7fb225c
      Richard Smith authored
      'operator delete' or 'operator delete[]' is an explicit exception
      specification. Therefore we should diagnose 'void operator delete(void*)'
      instead of 'void operator delete(void*) noexcept'.
      
      This diagnostic remains an ExtWarn, since in practice people don't always
      include the exception specification in such a declaration.
      
      llvm-svn: 201002
      c7fb225c
    • Rafael Espindola's avatar
      3d8a106f
    • Richard Smith's avatar
      Fold together two repeated identical 'if's. · c015bc25
      Richard Smith authored
      llvm-svn: 201000
      c015bc25
    • Rafael Espindola's avatar
      Comment cleanup. Don't repeat the function name in the comment. · 8193d17f
      Rafael Espindola authored
      llvm-svn: 200999
      8193d17f
    • Rafael Espindola's avatar
      Remove training whitespace. · 4fb4b47f
      Rafael Espindola authored
      llvm-svn: 200998
      4fb4b47f
    • Greg Clayton's avatar
      Now that the command interpreter runs in a separate thread in Xcode, we need... · 9b5442ae
      Greg Clayton authored
      Now that the command interpreter runs in a separate thread in Xcode, we need to lock the target API lock instead of trying to lock it.
      
      What was happening was:
      1 - Xcode ran and stopped and was doing work on thread 2
      2 - Users would type something in Xcode console on thread 1
      3 - thread 3 would be running command interpreter thread and try to execute command but get "failed to get API lock" error for any command that wanted the target API lock (like "expression")
      
      <rdar://problem/15775016>
      
      llvm-svn: 200997
      9b5442ae
    • Enrico Granata's avatar
      <rdar://problem/12857181> · 41c440fb
      Enrico Granata authored
      When a user says
      
      type formatter add ... unsigned int
      
      he most probably means to deal with the "unsigned int" type. However, given how the LLDB command parser works, that command will try to add the formatter to the TWO types 'unsigned' AND 'int'
      
      Since this is unlikely to be what the user wants, warn about it, and suggest they can use quotes to override the debugger's understanding
      
      llvm-svn: 200996
      41c440fb
Loading