gcc/libvtv/testsuite/environment-fail-32.s
Caroline Tice 2077db1be5 Commit the vtable verification feature.
Commit the vtable verification feature.  This feature is designed to
detect, at run time, if/when the vtable pointer in a C++ object has
been corrupted, before allowing virtual calls through that pointer. 
If pointer corruption is detected, execution of the program is halted.

libstdc++-v3 ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        * fragment.am: Add XTEMPLATE_FLAGS.
        * configure.ac: Add definitions for --enable-vtable-verify.
        * acinclude.m4:  Add --enable-vtable-verify and
        --disable-vtable-verify; define --enable-vtable-verify; define
        VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
        * config/abi/pre/gnu.ver: Export symbols for vtable verification.
        * libsupc++/Makefile.am: Define vtv_sources and add it to
        libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
        * libsupc++/vtv_stubs.cc: New file.
        * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
        * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
        VTV_CXXLINKFLAGS to CXXLINK.
        * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
        to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
        * src/C++11/Makefile.am: Ditto.
        * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
        * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
        cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
        * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
        libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
        cxxvtvflags to cxx_final.
        * testsuite/18_support/bad_exception/23591_thread-1.c: Add
        -fvtable-verify=none to compiler flags.
        * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
        to compiler flags.
        * configure: Regenerated.
        * Makefile.in: Regenerated.
        * python/Makefile.in: Regenerated.
        * include/Makefile.in: Regenerated.
        * libsupc++/Makefile.in: Regenerated.
        * config.h.in: Regenerated.
        * po/Makefile.in: Regenerated.
        * src/Makefile.in: Regenerated.
        * src/c++98/Makefile.in: Regenerated.
        * src/c++11/Makefile.in: Regenerated.
        * doc/Makefile.in: Regenerated.
        * testsuite/Makefile.in: Regenerated.

top level ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        * configure.ac: Add target-libvtv to target_libraries; disable libvtv
        on non-linux systems; add target-libvtv to noconfigdirs; add
        libsupc++/.libs to C++ library search paths.
        * configure: Regenerated.
        * Makefile.def: Add libvtv to target_modules; make libvtv depend on
        libstdc++ and libgcc.
        * Makefile.in: Regenerated.

include/ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        * vtv-change-permission.h: New file.

contrib/ChangeLog:
2013-08-06  Caroline Tice4  <cmtice@google.com>

        * gcc_update: Add libvtv files.

libgcc/ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        config.host (extra_parts): Add vtv_start.o, vtv_end.o
        vtv_start_preinit.o and vtv_end_preinit.o.
        configure.ac: Add code to check/set enable_vtable_verify.
        Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
        true.
        vtv_start_preinit.c: New file.
        vtv_end_preinit.c: New file.
        vtv_start.c: New file.
        vtv_end.c: New file.
        configure: Regenerated.

gcc/ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        * gcc.c (VTABLE_VERIFICATION_SPEC): New definition.
        (LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC.
        * tree-pass.h: Add pass_vtable_verify.
        * varasm.c (assemble_variable): Add code to properly set the comdat
        section and name for the .vtable_map_vars section.
        (assemble_vtyv_preinit_initializer): New function.
        (default_sectin_type_flags):  Make sure .vtable_map_vars section has
        LINK_ONCE flag.
        * output.h: Add function decl for assemble_vtv_preinit_initializer.
        * vtable-verify.c: New file.
        * vtable-verify.h: New file.
        * flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify
        initialiation levels.
        * timevar.def (TV_VTABLE_VERIFICATION): New definition.
        * passes.def: Insert pass_vtable_verify.
        * aclocal.m4: Reorder includes.
        * doc/invoke.texi: Add documentation for the flags -fvtable-verify=,
	-fvtv-debug and -fvtv-counts.
        * config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o,
as appropriate, if -fvtable-verify=... is used.
        (GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if
        -fvtable-verify=... is used.
        * Makefile.in (OBJS):  Add vtable-verify.o to list.
        (vtable-verify.o): Add new build rule.
        (GTFILES): Add vtable-verify.c to list.
        * common.opt (fvtable-verify=): New flag.
        (vtv_priority): Values for fvtable-verify= flag.
        (fvtv-counts): New flag.
(fvtv-debug): New flag.
        * tree.h (save_vtable_map_decl): New extern function decl.


gcc/cp/ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        * Make-lang.in (*CXX_AND_OBJCXX_OBJS):  Add vtable-class-hierarchy.o to
        list.
        (vtable-class-hierarchy.o): Add build rule.
        * cp-tree.h (vtv_start_verification_constructor_init_function): New
        extern function decl.
        (vtv_finish_verification_constructor_init_function): New extern
        function decl.
        (build_vtbl_address): New extern function decl.
        (get_mangled_vtable_map_var_name): New extern function decl.
        (vtv_compute_class_hierarchy_transitive_closure): New extern function
        decl.
        (vtv_generate_init_routine): New extern function decl.
        (vtv_save_class_info): New extern function decl.
        (vtv_recover_class_info): New extern function decl.
        (vtv_build_vtable_verify_fndecl): New extern function decl.
        * class.c (finish_struct_1): Add call to vtv_save_class_info if
        flag_vtable_verify is true.
        * config-lang.in: Add vtable-class-hierarchy.c to gtfiles list.
        * vtable-class-hierarchy.c: New file.
        * mangle.c (get_mangled_vtable_map_var_name):  New function.
        * decl2.c (start_objects): Update function comment.
        (cp_write_global_declarations): Call vtv_recover_class_info,
        vtv_compute_class_hierarchy_transitive_closure and
        vtv_build_vtable_verify_fndecl, before calling
        finalize_compilation_unit, and call vtv_generate_init_rount after, IFF
        flag_vtable_verify is true.
        (vtv_start_verification_constructor_init_function): New function.
        (vtv_finish_verification_constructor_init_function): New function.
        * init.c (build_vtbl_address): Remove static qualifier from function.

libvtv/ChangeLog:
2013-08-06  Caroline Tice  <cmtice@google.com>

        Initial check-in of new vtable verification feature.
        * configure.ac : New file.
        * acinclude.m4 : New file.
        * Makefile.am : New file.
        * aclocal.m4 : New file.
        * configure.tgt : New file.
        * configure: New file (generated).
        * Makefile.in: New file (generated).
        * vtv_set.h : New file.
        * vtv_utils.cc : New file.
        * vtv_utils.h : New file.
        * vtv_malloc.cc : New file.
        * vtv_rts.cc : New file.
        * vtv_malloc.h : New file.
        * vtv_rts.h : New file.
        * vtv_fail.cc : New file.
        * vtv_fail.h : New file.
        * vtv_map.h : New file.
        * scripts/run-testsuite.sh : New file.
        * scripts/sum-vtv-counts.c : New file.
        * testsuite/parts-test-main.h : New file.
        * testusite/dataentry.cc : New file.
        * testsuite/temp_deriv.cc : New file.
        * testsuite/register_pair.cc : New file.
        * testsuite/virtual_inheritance.cc : New file.
        * testsuite/field-test.cc : New file.
        * testsuite/nested_vcall_test.cc : New file.
        * testsuite/template-list-iostream.cc : New file.
        * testsuite/register_pair_inserts.cc : New file.
        * testsuite/register_pair_inserts_mt.cc : New file.
        * testsuite/event.list : New file.
        * testsuite/parts-test-extra-parts-views.cc : New file.
        * testsuite/parts-test-extra-parts-views.h : New file.
        * testsuite/environment-fail-32.s : New file.
        * testsuite/parts-test-extra-parts.h : New file.
        * testsuite/temp_deriv2.cc : New file.
        * testsuite/dlopen_mt.cc : New file.
        * testsuite/event.h : New file.
        * testsuite/template-list.cc : New file.
        * testsuite/replace-fail.cc : New file.
        * testsuite/Makefile.am : New file.
        * testsuite/Makefile.in: New file (generated).
        * testsuite/mempool_negative.c : New file.
        * testsuite/parts-test-main.cc : New file.
        * testsuite/event-private.cc : New file.
        * testsuite/thunk.cc : New file.
        * testsuite/event-defintiions.cc : New file.
        * testsuite/event-private.h : New file.
        * testsuite/parts-test.list : New file.
        * testusite/register_pair_mt.cc : New file.
        * testsuite/povray-derived.cc : New file.
        * testsuite/event-main.cc : New file.
        * testsuite/environment.cc : New file.
        * testsuite/template-list2.cc : New file.
        * testsuite/thunk_vtable_map_attack.cc : New file.
        * testsuite/parts-test-extra-parts.cc : New file.
        * testsuite/environment-fail-64.s : New file.
        * testsuite/dlopen.cc : New file.
        * testsuite/so.cc : New file.
        * testsuite/temp_deriv3.cc : New file.
        * testsuite/const_vtable.cc : New file.
        * testsuite/mempool_positive.c : New file.
        * testsuite/dup_name.cc : New file.

From-SVN: r201555
2013-08-06 20:38:59 -07:00

515 lines
12 KiB
ArmAsm

.file "environment.cc"
.section .text._ZN15EnvironmentImpl6GetVarEPKcPc,"axG",@progbits,_ZN15EnvironmentImpl6GetVarEPKcPc,comdat
.align 2
.weak _ZN15EnvironmentImpl6GetVarEPKcPc
.type _ZN15EnvironmentImpl6GetVarEPKcPc, @function
_ZN15EnvironmentImpl6GetVarEPKcPc:
.LFB0:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
movl $1, %eax
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.size _ZN15EnvironmentImpl6GetVarEPKcPc, .-_ZN15EnvironmentImpl6GetVarEPKcPc
.text
.align 2
.globl _ZN11EnvironmentD2Ev
.type _ZN11EnvironmentD2Ev, @function
_ZN11EnvironmentD2Ev:
.LFB2:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
subl $20, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl 8(%ebp), %eax
movl _ZTV11Environment@GOT(%ebx), %edx
leal 8(%edx), %edx
movl %edx, (%eax)
movl $0, %eax
testl %eax, %eax
je .L3
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZdlPv@PLT
.L3:
addl $20, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE2:
.size _ZN11EnvironmentD2Ev, .-_ZN11EnvironmentD2Ev
.globl _ZN11EnvironmentD1Ev
.set _ZN11EnvironmentD1Ev,_ZN11EnvironmentD2Ev
.align 2
.globl _ZN11EnvironmentD0Ev
.type _ZN11EnvironmentD0Ev, @function
_ZN11EnvironmentD0Ev:
.LFB4:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
subl $20, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZN11EnvironmentD1Ev@PLT
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZdlPv@PLT
addl $20, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE4:
.size _ZN11EnvironmentD0Ev, .-_ZN11EnvironmentD0Ev
.section .text._ZN11EnvironmentC2Ev,"axG",@progbits,_ZN11EnvironmentC5Ev,comdat
.align 2
.weak _ZN11EnvironmentC2Ev
.type _ZN11EnvironmentC2Ev, @function
_ZN11EnvironmentC2Ev:
.LFB8:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
call __x86.get_pc_thunk.cx
addl $_GLOBAL_OFFSET_TABLE_, %ecx
movl 8(%ebp), %eax
movl _ZTV11Environment@GOT(%ecx), %edx
leal 8(%edx), %edx
movl %edx, (%eax)
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE8:
.size _ZN11EnvironmentC2Ev, .-_ZN11EnvironmentC2Ev
.weak _ZN11EnvironmentC1Ev
.set _ZN11EnvironmentC1Ev,_ZN11EnvironmentC2Ev
.section .text._ZN15EnvironmentImplC2Ev,"axG",@progbits,_ZN15EnvironmentImplC5Ev,comdat
.align 2
.weak _ZN15EnvironmentImplC2Ev
.type _ZN15EnvironmentImplC2Ev, @function
_ZN15EnvironmentImplC2Ev:
.LFB10:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
subl $20, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZN11EnvironmentC2Ev@PLT
movl 8(%ebp), %eax
movl _ZTV15EnvironmentImpl@GOT(%ebx), %edx
leal 8(%edx), %edx
movl %edx, (%eax)
addl $20, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE10:
.size _ZN15EnvironmentImplC2Ev, .-_ZN15EnvironmentImplC2Ev
.weak _ZN15EnvironmentImplC1Ev
.set _ZN15EnvironmentImplC1Ev,_ZN15EnvironmentImplC2Ev
.text
.align 2
.globl _ZN11Environment6CreateEv
.type _ZN11Environment6CreateEv, @function
_ZN11Environment6CreateEv:
.LFB5:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %esi
pushl %ebx
subl $16, %esp
.cfi_offset 6, -12
.cfi_offset 3, -16
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl $4, (%esp)
call _Znwj@PLT
movl %eax, %esi
movl $0, (%esi)
movl %esi, (%esp)
call _ZN15EnvironmentImplC1Ev@PLT
movl %esi, %eax
addl $16, %esp
popl %ebx
.cfi_restore 3
popl %esi
.cfi_restore 6
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE5:
.size _ZN11Environment6CreateEv, .-_ZN11Environment6CreateEv
.section .rodata
.LC0:
.string "%p\n"
.text
.globl main
.type main, @function
main:
.LFB12:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
andl $-16, %esp
subl $32, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl $0, 28(%esp)
call _ZN11Environment6CreateEv@PLT
movl %eax, 24(%esp)
movl 24(%esp), %eax
movl (%eax), %eax
movl %eax, 4(%esp)
leal _ZN4_VTVI11EnvironmentE12__vtable_mapE@GOTOFF(%ebx), %eax
movl %eax, (%esp)
call _Z24__VLTVerifyVtablePointerPPvPKv@PLT
addl $8, %eax
movl (%eax), %eax
movl 28(%esp), %edx
movl %edx, 8(%esp)
movl $0, 4(%esp)
movl 24(%esp), %edx
movl %edx, (%esp)
call *%eax
movl 24(%esp), %eax
movl %eax, 4(%esp)
leal .LC0@GOTOFF(%ebx), %eax
movl %eax, (%esp)
call printf@PLT
movl $0, %eax
movl -4(%ebp), %ebx
leave
.cfi_restore 5
.cfi_restore 3
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE12:
.size main, .-main
.weak _ZTV11Environment
.section .data.rel.ro._ZTV11Environment,"awG",@progbits,_ZTV11Environment,comdat
.align 8
.type _ZTV11Environment, @object
.size _ZTV11Environment, 20
_ZTV11Environment:
.long 0
.long _ZTI11Environment
.long _ZN11EnvironmentD1Ev
.long _ZN11EnvironmentD0Ev
.long __cxa_pure_virtual
.weak _ZTV15EnvironmentImpl
.section .data.rel.ro._ZTV15EnvironmentImpl,"awG",@progbits,_ZTV15EnvironmentImpl,comdat
.align 8
.type _ZTV15EnvironmentImpl, @object
.size _ZTV15EnvironmentImpl, 20
_ZTV15EnvironmentImpl:
.long 0
.long _ZTI15EnvironmentImpl
.long _ZN15EnvironmentImplD1Ev
.long _ZN15EnvironmentImplD0Ev
.long _ZN15EnvironmentImpl6GetVarEPKcPc
.section .text._ZN15EnvironmentImplD2Ev,"axG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
.align 2
.weak _ZN15EnvironmentImplD2Ev
.type _ZN15EnvironmentImplD2Ev, @function
_ZN15EnvironmentImplD2Ev:
.LFB14:
.cfi_startproc
.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
.cfi_lsda 0x1b,.LLSDA14
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
subl $20, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl 8(%ebp), %eax
movl _ZTV15EnvironmentImpl@GOT(%ebx), %edx
leal 8(%edx), %edx
movl %edx, (%eax)
movl 8(%ebp), %eax
movl %eax, (%esp)
.LEHB0:
call _ZN11EnvironmentD2Ev@PLT
.LEHE0:
movl $0, %eax
testl %eax, %eax
je .L19
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZdlPv@PLT
jmp .L19
.L18:
movl %eax, (%esp)
.LEHB1:
call _Unwind_Resume@PLT
.LEHE1:
.L19:
addl $20, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE14:
.globl __gxx_personality_v0
.section .gcc_except_table._ZN15EnvironmentImplD2Ev,"aG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
.LLSDA14:
.byte 0xff
.byte 0xff
.byte 0x1
.uleb128 .LLSDACSE14-.LLSDACSB14
.LLSDACSB14:
.uleb128 .LEHB0-.LFB14
.uleb128 .LEHE0-.LEHB0
.uleb128 .L18-.LFB14
.uleb128 0
.uleb128 .LEHB1-.LFB14
.uleb128 .LEHE1-.LEHB1
.uleb128 0
.uleb128 0
.LLSDACSE14:
.section .text._ZN15EnvironmentImplD2Ev,"axG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
.size _ZN15EnvironmentImplD2Ev, .-_ZN15EnvironmentImplD2Ev
.weak _ZN15EnvironmentImplD1Ev
.set _ZN15EnvironmentImplD1Ev,_ZN15EnvironmentImplD2Ev
.section .text._ZN15EnvironmentImplD0Ev,"axG",@progbits,_ZN15EnvironmentImplD0Ev,comdat
.align 2
.weak _ZN15EnvironmentImplD0Ev
.type _ZN15EnvironmentImplD0Ev, @function
_ZN15EnvironmentImplD0Ev:
.LFB16:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
subl $20, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZN15EnvironmentImplD1Ev@PLT
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZdlPv@PLT
addl $20, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE16:
.size _ZN15EnvironmentImplD0Ev, .-_ZN15EnvironmentImplD0Ev
.weak _ZTS15EnvironmentImpl
.section .rodata._ZTS15EnvironmentImpl,"aG",@progbits,_ZTS15EnvironmentImpl,comdat
.type _ZTS15EnvironmentImpl, @object
.size _ZTS15EnvironmentImpl, 18
_ZTS15EnvironmentImpl:
.string "15EnvironmentImpl"
.weak _ZTI15EnvironmentImpl
.section .data.rel.ro._ZTI15EnvironmentImpl,"awG",@progbits,_ZTI15EnvironmentImpl,comdat
.align 4
.type _ZTI15EnvironmentImpl, @object
.size _ZTI15EnvironmentImpl, 12
_ZTI15EnvironmentImpl:
.long _ZTVN10__cxxabiv120__si_class_type_infoE+8
.long _ZTS15EnvironmentImpl
.long _ZTI11Environment
.weak _ZTI11Environment
.section .data.rel.ro._ZTI11Environment,"awG",@progbits,_ZTI11Environment,comdat
.align 4
.type _ZTI11Environment, @object
.size _ZTI11Environment, 8
_ZTI11Environment:
.long _ZTVN10__cxxabiv117__class_type_infoE+8
.long _ZTS11Environment
.weak _ZTS11Environment
.section .rodata._ZTS11Environment,"aG",@progbits,_ZTS11Environment,comdat
.type _ZTS11Environment, @object
.size _ZTS11Environment, 14
_ZTS11Environment:
.string "11Environment"
.hidden _ZN4_VTVI11EnvironmentE12__vtable_mapE
.weak _ZN4_VTVI11EnvironmentE12__vtable_mapE
.section .vtable_map_vars,"awG",@progbits,_ZN4_VTVI11EnvironmentE12__vtable_mapE,comdat
.align 4
.type _ZN4_VTVI11EnvironmentE12__vtable_mapE, @gnu_unique_object
.size _ZN4_VTVI11EnvironmentE12__vtable_mapE, 4
_ZN4_VTVI11EnvironmentE12__vtable_mapE:
.zero 4
.hidden _ZN4_VTVI15EnvironmentImplE12__vtable_mapE
.weak _ZN4_VTVI15EnvironmentImplE12__vtable_mapE
.section .vtable_map_vars,"awG",@progbits,_ZN4_VTVI15EnvironmentImplE12__vtable_mapE,comdat
.align 4
.type _ZN4_VTVI15EnvironmentImplE12__vtable_mapE, @gnu_unique_object
.size _ZN4_VTVI15EnvironmentImplE12__vtable_mapE, 4
_ZN4_VTVI15EnvironmentImplE12__vtable_mapE:
.zero 4
.section .data.rel.ro,"aw",@progbits
.align 4
.type __vptr_array_11Environment, @object
.size __vptr_array_11Environment, 8
__vptr_array_11Environment:
.long _ZTV11Environment+8
.long _ZTV15EnvironmentImpl+8
.section .rodata
.align 4
.LC1:
.string "&"
.string ""
.string ""
.ascii "\224\tl\022_ZN4_VTVI11EnvironmentE12__vtable_mapE"
.align 4
.LC2:
.string "*"
.string ""
.string ""
.ascii "N\225\r\334_ZN4_VTVI15EnvironmentImplE12__vtable_mapE"
.text
.type _GLOBAL__sub_I.00099_environment.cc, @function
_GLOBAL__sub_I.00099_environment.cc:
.LFB17:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
subl $36, %esp
.cfi_offset 3, -12
call __x86.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
leal __vptr_array_11Environment@GOTOFF(%ebx), %eax
movl %eax, 16(%esp)
movl $2, 12(%esp)
movl $2, 8(%esp)
leal .LC1@GOTOFF(%ebx), %eax
movl %eax, 4(%esp)
leal _ZN4_VTVI11EnvironmentE12__vtable_mapE@GOTOFF(%ebx), %eax
movl %eax, (%esp)
movl _ZTV15EnvironmentImpl@GOT(%ebx), %eax
leal 8(%eax), %eax
movl %eax, 12(%esp)
movl $1, 8(%esp)
leal .LC2@GOTOFF(%ebx), %eax
movl %eax, 4(%esp)
leal _ZN4_VTVI15EnvironmentImplE12__vtable_mapE@GOTOFF(%ebx), %eax
movl %eax, (%esp)
call _Z17__VLTRegisterPairPPvPKvjS2_@PLT
addl $36, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE17:
.size _GLOBAL__sub_I.00099_environment.cc, .-_GLOBAL__sub_I.00099_environment.cc
.section .init_array.00099,"aw"
.align 4
.long _GLOBAL__sub_I.00099_environment.cc
.section .text.__x86.get_pc_thunk.cx,"axG",@progbits,__x86.get_pc_thunk.cx,comdat
.globl __x86.get_pc_thunk.cx
.hidden __x86.get_pc_thunk.cx
.type __x86.get_pc_thunk.cx, @function
__x86.get_pc_thunk.cx:
.LFB18:
.cfi_startproc
movl (%esp), %ecx
ret
.cfi_endproc
.LFE18:
.section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
.globl __x86.get_pc_thunk.bx
.hidden __x86.get_pc_thunk.bx
.type __x86.get_pc_thunk.bx, @function
__x86.get_pc_thunk.bx:
.LFB19:
.cfi_startproc
movl (%esp), %ebx
ret
.cfi_endproc
.LFE19:
.hidden DW.ref.__gxx_personality_v0
.weak DW.ref.__gxx_personality_v0
.section .data.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
.align 4
.type DW.ref.__gxx_personality_v0, @object
.size DW.ref.__gxx_personality_v0, 4
DW.ref.__gxx_personality_v0:
.long __gxx_personality_v0
.ident "GCC: (GNU) 4.9.0 20130616 (experimental)"
.section .note.GNU-stack,"",@progbits