Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 19:06:13 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258005 - in head/contrib/llvm: include/llvm/Support lib/Support
Message-ID:  <201311111906.rABJ6DaW078690@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Nov 11 19:06:12 2013
New Revision: 258005
URL: http://svnweb.freebsd.org/changeset/base/258005

Log:
  Merge upstream LLVM r192118:
  
    Formally added an explicit enum for DWARF TLS support. No functionality
    change.
  
  Reviewed by:	dim@
  Sponsored by:	DARPA, AFRL

Modified:
  head/contrib/llvm/include/llvm/Support/Dwarf.h
  head/contrib/llvm/lib/Support/Dwarf.cpp

Modified: head/contrib/llvm/include/llvm/Support/Dwarf.h
==============================================================================
--- head/contrib/llvm/include/llvm/Support/Dwarf.h	Mon Nov 11 19:04:20 2013	(r258004)
+++ head/contrib/llvm/include/llvm/Support/Dwarf.h	Mon Nov 11 19:06:12 2013	(r258005)
@@ -484,6 +484,9 @@ enum dwarf_constants {
   DW_OP_lo_user = 0xe0,
   DW_OP_hi_user = 0xff,
 
+  // Extensions for GNU-style thread-local storage.
+  DW_OP_GNU_push_tls_address = 0xe0,
+
   // Extensions for Fission proposal.
   DW_OP_GNU_addr_index = 0xfb,
   DW_OP_GNU_const_index = 0xfc,

Modified: head/contrib/llvm/lib/Support/Dwarf.cpp
==============================================================================
--- head/contrib/llvm/lib/Support/Dwarf.cpp	Mon Nov 11 19:04:20 2013	(r258004)
+++ head/contrib/llvm/lib/Support/Dwarf.cpp	Mon Nov 11 19:06:12 2013	(r258005)
@@ -453,10 +453,11 @@ const char *llvm::dwarf::OperationEncodi
   case DW_OP_bit_piece:                  return "DW_OP_bit_piece";
   case DW_OP_implicit_value:             return "DW_OP_implicit_value";
   case DW_OP_stack_value:                return "DW_OP_stack_value";
-  case DW_OP_lo_user:                    return "DW_OP_lo_user";
-  case DW_OP_hi_user:                    return "DW_OP_hi_user";
 
-    // DWARF5 Fission Proposal Op Extensions
+  // GNU thread-local storage
+  case DW_OP_GNU_push_tls_address:       return "DW_OP_GNU_push_tls_address";
+
+  // DWARF5 Fission Proposal Op Extensions
   case DW_OP_GNU_addr_index:             return "DW_OP_GNU_addr_index";
   case DW_OP_GNU_const_index:            return "DW_OP_GNU_const_index";
   }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111906.rABJ6DaW078690>