summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-21 22:26:13 +0000
committerDevang Patel <dpatel@apple.com>2011-04-21 22:26:13 +0000
commit6d1e4e9646af1d475ef7c175b31082c84c3435c0 (patch)
tree1dd610170f04e0e9dcd590816207e9a9c5602082
parentfca8b75b71a6eeb883f993e16f6b08154027d0c3 (diff)
downloadbcm5719-llvm-6d1e4e9646af1d475ef7c175b31082c84c3435c0.tar.gz
bcm5719-llvm-6d1e4e9646af1d475ef7c175b31082c84c3435c0.zip
Add DW_OP_bit_piece.
llvm-svn: 129945
-rw-r--r--llvm/include/llvm/Support/Dwarf.h1
-rw-r--r--llvm/lib/Support/Dwarf.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/Dwarf.h b/llvm/include/llvm/Support/Dwarf.h
index 2a48f3c3076..f6d680b8b9d 100644
--- a/llvm/include/llvm/Support/Dwarf.h
+++ b/llvm/include/llvm/Support/Dwarf.h
@@ -411,6 +411,7 @@ enum dwarf_constants {
DW_OP_call_ref = 0x9a,
DW_OP_form_tls_address = 0x9b,
DW_OP_call_frame_cfa = 0x9c,
+ DW_OP_bit_piece = 0x9d,
DW_OP_lo_user = 0xe0,
DW_OP_hi_user = 0xff,
diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp
index 25cf531addb..74a9fda7ab6 100644
--- a/llvm/lib/Support/Dwarf.cpp
+++ b/llvm/lib/Support/Dwarf.cpp
@@ -395,6 +395,7 @@ const char *llvm::dwarf::OperationEncodingString(unsigned Encoding) {
case DW_OP_call_ref: return "DW_OP_call_ref";
case DW_OP_form_tls_address: return "DW_OP_form_tls_address";
case DW_OP_call_frame_cfa: return "DW_OP_call_frame_cfa";
+ case DW_OP_bit_piece: return "DW_OP_bit_piece";
case DW_OP_lo_user: return "DW_OP_lo_user";
case DW_OP_hi_user: return "DW_OP_hi_user";
}
OpenPOWER on IntegriCloud