aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-05 14:38:02 -0700
committerGraydon Hoare <[email protected]>2010-07-05 14:38:02 -0700
commitb0aba6510a7b571560cb6d02b980350faf028d5c (patch)
treef677a270495b662e9cb61c6241699dd58e0d253d /src/boot/me
parentRename some stuff in lib/util.rs. (diff)
downloadrust-b0aba6510a7b571560cb6d02b980350faf028d5c.tar.xz
rust-b0aba6510a7b571560cb6d02b980350faf028d5c.zip
Teach the dwarf readers to handle udata, so we can link with util.option; add util.rs to std.rc.
Diffstat (limited to 'src/boot/me')
-rw-r--r--src/boot/me/dwarf.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/me/dwarf.ml b/src/boot/me/dwarf.ml
index a568db41..bf974866 100644
--- a/src/boot/me/dwarf.ml
+++ b/src/boot/me/dwarf.ml
@@ -2724,6 +2724,7 @@ let read_dies
| DW_FORM_data1 -> DATA_num (ar.asm_get_u8())
| DW_FORM_data4 -> DATA_num (ar.asm_get_u32())
| DW_FORM_flag -> DATA_num (ar.asm_get_u8())
+ | DW_FORM_udata -> DATA_num (ar.asm_get_uleb())
| DW_FORM_block1 -> (adv_block1(); DATA_other)
| DW_FORM_block4 -> (adv_block4(); DATA_other)
| _ ->