Skip to content
  1. Jun 28, 2012
  2. Jun 27, 2012
  3. Jun 26, 2012
  4. Jun 24, 2012
  5. Jun 23, 2012
    • Hans Wennborg's avatar
      Support the tls_model attribute (PR9788) · d3b01bc7
      Hans Wennborg authored
      This adds support for the tls_model attribute. This allows the user to
      choose a TLS model that is better than what LLVM would select by
      default. For example, a variable might be declared as:
      
        __thread int x __attribute__((tls_model("initial-exec")));
      
      if it will not be used in a shared library that is dlopen'ed.
      
      This depends on LLVM r159077.
      
      llvm-svn: 159078
      d3b01bc7
    • Nico Weber's avatar
      Support L__FUNCTION__ in microsoft mode, PR11789 · 3a691a36
      Nico Weber authored
      Heavily based on a patch from
      Aaron Wishnick <aaron.s.wishnick@gmail.com>.
      
      I'll clean up the duplicated function in CodeGen as
      a follow-up, later today or tomorrow.
      
      llvm-svn: 159060
      3a691a36
  6. Jun 22, 2012
  7. Jun 21, 2012
  8. Jun 20, 2012
    • Chad Rosier's avatar
      [ms-style asm] Change the fatal error to an extension warning. Apparently, this · 43b7c021
      Chad Rosier authored
      error was asserting on anything that included Windows.h.  MS-style inline asm is
      still dropped, but at least now we're not completely silent about it.
      
      llvm-svn: 158833
      43b7c021
    • Benjamin Kramer's avatar
      Don't circumvent the debug info type cache when emitting info for EnumConstantDecl. · e6dcf106
      Benjamin Kramer authored
      CreateEnumType doesn't participate in caching so the descriptor for the enum
      gets recomputed for every reference of an element of an enum, only to get
      discarded when it gets turned into an MDNode.
      
      No functionality change except performance.
      
      llvm-svn: 158832
      e6dcf106
    • Chad Rosier's avatar
      Whitespace. · bebf146d
      Chad Rosier authored
      llvm-svn: 158830
      bebf146d
    • John McCall's avatar
      Restructure how the driver communicates information about the · 5fb5df9c
      John McCall authored
      target Objective-C runtime down to the frontend:  break this
      down into a single target runtime kind and version, and compute
      all the relevant information from that.  This makes it
      relatively painless to add support for new runtimes to the
      compiler.  Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z,
      available at the driver level as a better and more general
      alternative to -fgnu-runtime and -fnext-runtime.  This new
      concept of an Objective-C runtime also encompasses what we
      were previously separating out as the "Objective-C ABI", so
      fragile vs. non-fragile runtimes are now really modelled as
      different kinds of runtime, paving the way for better overall
      differentiation.
      
      As a sort of special case, continue to accept the -cc1 flag
      -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak.
      
      I won't go so far as to say "no functionality change", even
      ignoring the new driver flag, but subtle changes in driver
      semantics are almost certainly not intended.
      
      llvm-svn: 158793
      5fb5df9c
    • James Dennett's avatar
      Documentation cleanup: escape "::" to avoid a Doxygen warning · a02e11f3
      James Dennett authored
      llvm-svn: 158778
      a02e11f3
  9. Jun 19, 2012
  10. Jun 18, 2012
  11. Jun 16, 2012
  12. Jun 15, 2012
  13. Jun 14, 2012
    • James Dennett's avatar
      More doxygen/documentation cleanups. · b9199ee5
      James Dennett authored
      This reduces the number of warnings generated by Doxygen by about 100
      (roughly 10%).  Issues addressed:
      (1) Primarily, backslash-escaped "@foo" and "#bah" in Doxygen comments
      when they're not supposed to be Doxygen commands or links, and
      similarly for "<baz>" when it's not intended as as HTML tag;
      (2) Changed some \t commands (which don't exist) to \c ("to refer to a
      word of code", as the Doxygen manual says);
      (3) \precondition becomes \pre;
      (4) When touching comments, deleted a couple of spurious spaces in them;
      (5) Changed some \n and \r to \\n and \\r;
      (6) Fixed one tiny typo: #pragms -> #pragma.
      
      This patch touches documentation/comments only.
      
      llvm-svn: 158422
      b9199ee5
  14. Jun 12, 2012
  15. Jun 11, 2012
  16. Jun 10, 2012
  17. Jun 09, 2012
    • Michael J. Spencer's avatar
      [C++11 Compat] Fix breaking change in C++11 pair copyctor. · d1e09a42
      Michael J. Spencer authored
      While this code is valid C++98, it is not valid C++11. The problem can be
      reduced to:
      
      class MDNode;
      
      class DIType {
        operator MDNode*() const {return 0;}
      };
      
      class WeakVH {
        WeakVH(MDNode*) {}
      };
      
      int main() {
        DIType di;
        std::pair<void*, WeakVH> p(std::make_pair((void*)0, di)));
      }
      
      This was not detected by any of the bots we have because they either compile
      C++98 with libstdc++ (which allows it), or C++11 with libc++ (which incorrectly
      allows it). I ran into the problem when compiling with VS 2012 RC.
      
      Thanks to Richard for explaining the issue.
      
      llvm-svn: 158245
      d1e09a42
  18. Jun 07, 2012
Loading