[pygccxml-commit] SF.net SVN: pygccxml: [476] pygccxml_dev/unittests
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-08-26 18:27:38
|
Revision: 476 Author: roman_yakovenko Date: 2006-08-26 11:27:22 -0700 (Sat, 26 Aug 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=476&view=rev Log Message: ----------- adding unit tests for gccxml that runs on Linux AMD64 architecture Modified Paths: -------------- pygccxml_dev/unittests/demangled_tester.py pyplusplus_dev/examples/pyboost_dev/dev/date_time/sconscript Added Paths: ----------- pygccxml_dev/unittests/data/demangled_tester_64bit.xml Added: pygccxml_dev/unittests/data/demangled_tester_64bit.xml =================================================================== --- pygccxml_dev/unittests/data/demangled_tester_64bit.xml (rev 0) +++ pygccxml_dev/unittests/data/demangled_tester_64bit.xml 2006-08-26 18:27:22 UTC (rev 476) @@ -0,0 +1,424 @@ +<?xml version="1.0"?> +<GCC_XML cvs_revision="1.113"> + <Namespace id="_1" name="::" members="_3 _4 _5 _6 _7 _8 _9 _10 _11 _12 _13 _14 _15 _16 _17 _18 _19 _20 _21 _22 _23 _24 _25 _26 _27 _28 _29 _30 _31 _32 _33 _34 _35 _36 _37 _38 _39 _40 _41 _42 _43 _44 _45 _46 _47 _48 _49 _50 _51 _52 _53 _54 _55 _56 _57 _58 _59 _60 _61 _62 _63 _64 _65 _66 _67 _68 _69 _70 _71 _72 _73 _74 _75 _76 _77 _78 _79 _80 _81 _82 _83 _84 _85 _86 _87 _88 _89 _90 _91 _92 _93 _94 _95 _96 _97 _98 _99 _100 _101 _102 _103 _104 _105 _106 _107 _108 _109 _110 _111 _112 _113 _114 _115 _116 _117 _118 _119 _120 _121 _122 " mangled="_Z2::" demangled="::"/> + <Namespace id="_2" name="std" context="_1" members="" mangled="_Z3std" demangled="std"/> + <Function id="_3" name="__builtin_cpowl" returns="_123" context="_1" location="f0:131" file="f0" line="131" extern="1"> + <Argument type="_123" location="f0:131" file="f0" line="131"/> + <Argument type="_123" location="f0:131" file="f0" line="131"/> + </Function> + <Function id="_4" name="__builtin_cpow" returns="_124" context="_1" location="f0:130" file="f0" line="130" extern="1"> + <Argument type="_124" location="f0:130" file="f0" line="130"/> + <Argument type="_124" location="f0:130" file="f0" line="130"/> + </Function> + <Function id="_5" name="__builtin_cpowf" returns="_125" context="_1" location="f0:129" file="f0" line="129" extern="1"> + <Argument type="_125" location="f0:129" file="f0" line="129"/> + <Argument type="_125" location="f0:129" file="f0" line="129"/> + </Function> + <Function id="_6" name="__builtin_ctanhl" returns="_123" context="_1" location="f0:128" file="f0" line="128" extern="1"> + <Argument type="_123" location="f0:128" file="f0" line="128"/> + </Function> + <Function id="_7" name="__builtin_ctanh" returns="_124" context="_1" location="f0:127" file="f0" line="127" extern="1"> + <Argument type="_124" location="f0:127" file="f0" line="127"/> + </Function> + <Function id="_8" name="__builtin_ctanhf" returns="_125" context="_1" location="f0:126" file="f0" line="126" extern="1"> + <Argument type="_125" location="f0:126" file="f0" line="126"/> + </Function> + <Function id="_9" name="__builtin_ctanl" returns="_123" context="_1" location="f0:125" file="f0" line="125" extern="1"> + <Argument type="_123" location="f0:125" file="f0" line="125"/> + </Function> + <Function id="_10" name="__builtin_ctan" returns="_124" context="_1" location="f0:124" file="f0" line="124" extern="1"> + <Argument type="_124" location="f0:124" file="f0" line="124"/> + </Function> + <Function id="_11" name="__builtin_ctanf" returns="_125" context="_1" location="f0:123" file="f0" line="123" extern="1"> + <Argument type="_125" location="f0:123" file="f0" line="123"/> + </Function> + <Function id="_12" name="__builtin_csqrtl" returns="_123" context="_1" location="f0:122" file="f0" line="122" extern="1"> + <Argument type="_123" location="f0:122" file="f0" line="122"/> + </Function> + <Function id="_13" name="__builtin_csqrt" returns="_124" context="_1" location="f0:121" file="f0" line="121" extern="1"> + <Argument type="_124" location="f0:121" file="f0" line="121"/> + </Function> + <Function id="_14" name="__builtin_csqrtf" returns="_125" context="_1" location="f0:120" file="f0" line="120" extern="1"> + <Argument type="_125" location="f0:120" file="f0" line="120"/> + </Function> + <Function id="_15" name="__builtin_csinhl" returns="_123" context="_1" location="f0:119" file="f0" line="119" extern="1"> + <Argument type="_123" location="f0:119" file="f0" line="119"/> + </Function> + <Function id="_16" name="__builtin_csinh" returns="_124" context="_1" location="f0:118" file="f0" line="118" extern="1"> + <Argument type="_124" location="f0:118" file="f0" line="118"/> + </Function> + <Function id="_17" name="__builtin_csinhf" returns="_125" context="_1" location="f0:117" file="f0" line="117" extern="1"> + <Argument type="_125" location="f0:117" file="f0" line="117"/> + </Function> + <Function id="_18" name="__builtin_csinl" returns="_123" context="_1" location="f0:116" file="f0" line="116" extern="1"> + <Argument type="_123" location="f0:116" file="f0" line="116"/> + </Function> + <Function id="_19" name="__builtin_csin" returns="_124" context="_1" location="f0:115" file="f0" line="115" extern="1"> + <Argument type="_124" location="f0:115" file="f0" line="115"/> + </Function> + <Function id="_20" name="__builtin_csinf" returns="_125" context="_1" location="f0:114" file="f0" line="114" extern="1"> + <Argument type="_125" location="f0:114" file="f0" line="114"/> + </Function> + <Function id="_21" name="__builtin_clogl" returns="_123" context="_1" location="f0:113" file="f0" line="113" extern="1"> + <Argument type="_123" location="f0:113" file="f0" line="113"/> + </Function> + <Function id="_22" name="__builtin_clog" returns="_124" context="_1" location="f0:112" file="f0" line="112" extern="1"> + <Argument type="_124" location="f0:112" file="f0" line="112"/> + </Function> + <Function id="_23" name="__builtin_clogf" returns="_125" context="_1" location="f0:111" file="f0" line="111" extern="1"> + <Argument type="_125" location="f0:111" file="f0" line="111"/> + </Function> + <Function id="_24" name="__builtin_cexpl" returns="_123" context="_1" location="f0:110" file="f0" line="110" extern="1"> + <Argument type="_123" location="f0:110" file="f0" line="110"/> + </Function> + <Function id="_25" name="__builtin_cexp" returns="_124" context="_1" location="f0:109" file="f0" line="109" extern="1"> + <Argument type="_124" location="f0:109" file="f0" line="109"/> + </Function> + <Function id="_26" name="__builtin_cexpf" returns="_125" context="_1" location="f0:108" file="f0" line="108" extern="1"> + <Argument type="_125" location="f0:108" file="f0" line="108"/> + </Function> + <Function id="_27" name="__builtin_ccoshl" returns="_123" context="_1" location="f0:107" file="f0" line="107" extern="1"> + <Argument type="_123" location="f0:107" file="f0" line="107"/> + </Function> + <Function id="_28" name="__builtin_ccosh" returns="_124" context="_1" location="f0:106" file="f0" line="106" extern="1"> + <Argument type="_124" location="f0:106" file="f0" line="106"/> + </Function> + <Function id="_29" name="__builtin_ccoshf" returns="_125" context="_1" location="f0:105" file="f0" line="105" extern="1"> + <Argument type="_125" location="f0:105" file="f0" line="105"/> + </Function> + <Function id="_30" name="__builtin_ccosl" returns="_123" context="_1" location="f0:104" file="f0" line="104" extern="1"> + <Argument type="_123" location="f0:104" file="f0" line="104"/> + </Function> + <Function id="_31" name="__builtin_ccos" returns="_124" context="_1" location="f0:103" file="f0" line="103" extern="1"> + <Argument type="_124" location="f0:103" file="f0" line="103"/> + </Function> + <Function id="_32" name="__builtin_ccosf" returns="_125" context="_1" location="f0:102" file="f0" line="102" extern="1"> + <Argument type="_125" location="f0:102" file="f0" line="102"/> + </Function> + <Function id="_33" name="__builtin_popcountll" returns="_126" context="_1" location="f0:101" file="f0" line="101" extern="1"> + <Argument type="_127" location="f0:101" file="f0" line="101"/> + </Function> + <Function id="_34" name="__builtin_popcountl" returns="_126" context="_1" location="f0:100" file="f0" line="100" extern="1"> + <Argument type="_128" location="f0:100" file="f0" line="100"/> + </Function> + <Function id="_35" name="__builtin_popcount" returns="_126" context="_1" location="f0:99" file="f0" line="99" extern="1"> + <Argument type="_126" location="f0:99" file="f0" line="99"/> + </Function> + <Function id="_36" name="__builtin_ctzll" returns="_126" context="_1" location="f0:98" file="f0" line="98" extern="1"> + <Argument type="_127" location="f0:98" file="f0" line="98"/> + </Function> + <Function id="_37" name="__builtin_ctzl" returns="_126" context="_1" location="f0:97" file="f0" line="97" extern="1"> + <Argument type="_128" location="f0:97" file="f0" line="97"/> + </Function> + <Function id="_38" name="__builtin_ctz" returns="_126" context="_1" location="f0:96" file="f0" line="96" extern="1"> + <Argument type="_126" location="f0:96" file="f0" line="96"/> + </Function> + <Function id="_39" name="__builtin_cargl" returns="_129" context="_1" location="f0:95" file="f0" line="95" extern="1"> + <Argument type="_123" location="f0:95" file="f0" line="95"/> + </Function> + <Function id="_40" name="__builtin_carg" returns="_130" context="_1" location="f0:94" file="f0" line="94" extern="1"> + <Argument type="_124" location="f0:94" file="f0" line="94"/> + </Function> + <Function id="_41" name="__builtin_cargf" returns="_131" context="_1" location="f0:93" file="f0" line="93" extern="1"> + <Argument type="_125" location="f0:93" file="f0" line="93"/> + </Function> + <Function id="_42" name="__builtin_cabsl" returns="_129" context="_1" location="f0:92" file="f0" line="92" extern="1"> + <Argument type="_123" location="f0:92" file="f0" line="92"/> + </Function> + <Function id="_43" name="__builtin_cabs" returns="_130" context="_1" location="f0:91" file="f0" line="91" extern="1"> + <Argument type="_124" location="f0:91" file="f0" line="91"/> + </Function> + <Function id="_44" name="__builtin_cabsf" returns="_131" context="_1" location="f0:90" file="f0" line="90" extern="1"> + <Argument type="_125" location="f0:90" file="f0" line="90"/> + </Function> + <Function id="_45" name="__builtin_tanl" returns="_129" context="_1" location="f0:89" file="f0" line="89" extern="1"> + <Argument type="_129" location="f0:89" file="f0" line="89"/> + </Function> + <Function id="_46" name="__builtin_tanhl" returns="_129" context="_1" location="f0:88" file="f0" line="88" extern="1"> + <Argument type="_129" location="f0:88" file="f0" line="88"/> + </Function> + <Function id="_47" name="__builtin_tanhf" returns="_131" context="_1" location="f0:87" file="f0" line="87" extern="1"> + <Argument type="_131" location="f0:87" file="f0" line="87"/> + </Function> + <Function id="_48" name="__builtin_tanh" returns="_130" context="_1" location="f0:86" file="f0" line="86" extern="1"> + <Argument type="_130" location="f0:86" file="f0" line="86"/> + </Function> + <Function id="_49" name="__builtin_tanf" returns="_131" context="_1" location="f0:85" file="f0" line="85" extern="1"> + <Argument type="_131" location="f0:85" file="f0" line="85"/> + </Function> + <Function id="_50" name="__builtin_tan" returns="_130" context="_1" location="f0:84" file="f0" line="84" extern="1"> + <Argument type="_130" location="f0:84" file="f0" line="84"/> + </Function> + <Function id="_51" name="__builtin_sinhl" returns="_129" context="_1" location="f0:79" file="f0" line="79" extern="1"> + <Argument type="_129" location="f0:79" file="f0" line="79"/> + </Function> + <Function id="_52" name="__builtin_sinhf" returns="_131" context="_1" location="f0:78" file="f0" line="78" extern="1"> + <Argument type="_131" location="f0:78" file="f0" line="78"/> + </Function> + <Function id="_53" name="__builtin_sinh" returns="_130" context="_1" location="f0:77" file="f0" line="77" extern="1"> + <Argument type="_130" location="f0:77" file="f0" line="77"/> + </Function> + <Function id="_54" name="__builtin_powil" returns="_129" context="_1" location="f0:74" file="f0" line="74" extern="1"> + <Argument type="_129" location="f0:74" file="f0" line="74"/> + <Argument type="_126" location="f0:74" file="f0" line="74"/> + </Function> + <Function id="_55" name="__builtin_powif" returns="_131" context="_1" location="f0:73" file="f0" line="73" extern="1"> + <Argument type="_131" location="f0:73" file="f0" line="73"/> + <Argument type="_126" location="f0:73" file="f0" line="73"/> + </Function> + <Function id="_56" name="__builtin_powi" returns="_130" context="_1" location="f0:72" file="f0" line="72" extern="1"> + <Argument type="_130" location="f0:72" file="f0" line="72"/> + <Argument type="_126" location="f0:72" file="f0" line="72"/> + </Function> + <Function id="_57" name="__builtin_powl" returns="_129" context="_1" location="f0:71" file="f0" line="71" extern="1"> + <Argument type="_129" location="f0:71" file="f0" line="71"/> + <Argument type="_129" location="f0:71" file="f0" line="71"/> + </Function> + <Function id="_58" name="__builtin_powf" returns="_131" context="_1" location="f0:70" file="f0" line="70" extern="1"> + <Argument type="_131" location="f0:70" file="f0" line="70"/> + <Argument type="_131" location="f0:70" file="f0" line="70"/> + </Function> + <Function id="_59" name="__builtin_modfl" returns="_129" context="_1" location="f0:69" file="f0" line="69" extern="1"> + <Argument type="_129" location="f0:69" file="f0" line="69"/> + <Argument type="_132" location="f0:69" file="f0" line="69"/> + </Function> + <Function id="_60" name="__builtin_modff" returns="_131" context="_1" location="f0:68" file="f0" line="68" extern="1"> + <Argument type="_131" location="f0:68" file="f0" line="68"/> + <Argument type="_133" location="f0:68" file="f0" line="68"/> + </Function> + <Function id="_61" name="__builtin_log10l" returns="_129" context="_1" location="f0:65" file="f0" line="65" extern="1"> + <Argument type="_129" location="f0:65" file="f0" line="65"/> + </Function> + <Function id="_62" name="__builtin_log10f" returns="_131" context="_1" location="f0:64" file="f0" line="64" extern="1"> + <Argument type="_131" location="f0:64" file="f0" line="64"/> + </Function> + <Function id="_63" name="__builtin_log10" returns="_130" context="_1" location="f0:63" file="f0" line="63" extern="1"> + <Argument type="_130" location="f0:63" file="f0" line="63"/> + </Function> + <Function id="_64" name="__builtin_ldexpl" returns="_129" context="_1" location="f0:61" file="f0" line="61" extern="1"> + <Argument type="_129" location="f0:61" file="f0" line="61"/> + <Argument type="_126" location="f0:61" file="f0" line="61"/> + </Function> + <Function id="_65" name="__builtin_ldexpf" returns="_131" context="_1" location="f0:60" file="f0" line="60" extern="1"> + <Argument type="_131" location="f0:60" file="f0" line="60"/> + <Argument type="_126" location="f0:60" file="f0" line="60"/> + </Function> + <Function id="_66" name="__builtin_ldexp" returns="_130" context="_1" location="f0:59" file="f0" line="59" extern="1"> + <Argument type="_130" location="f0:59" file="f0" line="59"/> + <Argument type="_126" location="f0:59" file="f0" line="59"/> + </Function> + <Function id="_67" name="__builtin_frexpl" returns="_129" context="_1" location="f0:58" file="f0" line="58" extern="1"> + <Argument type="_129" location="f0:58" file="f0" line="58"/> + <Argument type="_134" location="f0:58" file="f0" line="58"/> + </Function> + <Function id="_68" name="__builtin_frexpf" returns="_131" context="_1" location="f0:57" file="f0" line="57" extern="1"> + <Argument type="_131" location="f0:57" file="f0" line="57"/> + <Argument type="_134" location="f0:57" file="f0" line="57"/> + </Function> + <Function id="_69" name="__builtin_frexp" returns="_130" context="_1" location="f0:56" file="f0" line="56" extern="1"> + <Argument type="_130" location="f0:56" file="f0" line="56"/> + <Argument type="_134" location="f0:56" file="f0" line="56"/> + </Function> + <Function id="_70" name="__builtin_fmodl" returns="_129" context="_1" location="f0:55" file="f0" line="55" extern="1"> + <Argument type="_129" location="f0:55" file="f0" line="55"/> + <Argument type="_129" location="f0:55" file="f0" line="55"/> + </Function> + <Function id="_71" name="__builtin_fmodf" returns="_131" context="_1" location="f0:54" file="f0" line="54" extern="1"> + <Argument type="_131" location="f0:54" file="f0" line="54"/> + <Argument type="_131" location="f0:54" file="f0" line="54"/> + </Function> + <Function id="_72" name="__builtin_floorl" returns="_129" context="_1" location="f0:53" file="f0" line="53" extern="1"> + <Argument type="_129" location="f0:53" file="f0" line="53"/> + </Function> + <Function id="_73" name="__builtin_floorf" returns="_131" context="_1" location="f0:52" file="f0" line="52" extern="1"> + <Argument type="_131" location="f0:52" file="f0" line="52"/> + </Function> + <Function id="_74" name="__builtin_floor" returns="_130" context="_1" location="f0:51" file="f0" line="51" extern="1"> + <Argument type="_130" location="f0:51" file="f0" line="51"/> + </Function> + <Function id="_75" name="__builtin_coshl" returns="_129" context="_1" location="f0:43" file="f0" line="43" extern="1"> + <Argument type="_129" location="f0:43" file="f0" line="43"/> + </Function> + <Function id="_76" name="__builtin_coshf" returns="_131" context="_1" location="f0:42" file="f0" line="42" extern="1"> + <Argument type="_131" location="f0:42" file="f0" line="42"/> + </Function> + <Function id="_77" name="__builtin_cosh" returns="_130" context="_1" location="f0:41" file="f0" line="41" extern="1"> + <Argument type="_130" location="f0:41" file="f0" line="41"/> + </Function> + <Function id="_78" name="__builtin_ceill" returns="_129" context="_1" location="f0:38" file="f0" line="38" extern="1"> + <Argument type="_129" location="f0:38" file="f0" line="38"/> + </Function> + <Function id="_79" name="__builtin_ceilf" returns="_131" context="_1" location="f0:37" file="f0" line="37" extern="1"> + <Argument type="_131" location="f0:37" file="f0" line="37"/> + </Function> + <Function id="_80" name="__builtin_ceil" returns="_130" context="_1" location="f0:36" file="f0" line="36" extern="1"> + <Argument type="_130" location="f0:36" file="f0" line="36"/> + </Function> + <Function id="_81" name="__builtin_atanl" returns="_129" context="_1" location="f0:35" file="f0" line="35" extern="1"> + <Argument type="_129" location="f0:35" file="f0" line="35"/> + </Function> + <Function id="_82" name="__builtin_atanf" returns="_131" context="_1" location="f0:34" file="f0" line="34" extern="1"> + <Argument type="_131" location="f0:34" file="f0" line="34"/> + </Function> + <Function id="_83" name="__builtin_atan2l" returns="_129" context="_1" location="f0:33" file="f0" line="33" extern="1"> + <Argument type="_129" location="f0:33" file="f0" line="33"/> + <Argument type="_129" location="f0:33" file="f0" line="33"/> + </Function> + <Function id="_84" name="__builtin_atan2f" returns="_131" context="_1" location="f0:32" file="f0" line="32" extern="1"> + <Argument type="_131" location="f0:32" file="f0" line="32"/> + <Argument type="_131" location="f0:32" file="f0" line="32"/> + </Function> + <Function id="_85" name="__builtin_atan2" returns="_130" context="_1" location="f0:31" file="f0" line="31" extern="1"> + <Argument type="_130" location="f0:31" file="f0" line="31"/> + <Argument type="_130" location="f0:31" file="f0" line="31"/> + </Function> + <Function id="_86" name="__builtin_atan" returns="_130" context="_1" location="f0:30" file="f0" line="30" extern="1"> + <Argument type="_130" location="f0:30" file="f0" line="30"/> + </Function> + <Function id="_87" name="__builtin_asinl" returns="_129" context="_1" location="f0:29" file="f0" line="29" extern="1"> + <Argument type="_129" location="f0:29" file="f0" line="29"/> + </Function> + <Function id="_88" name="__builtin_asinf" returns="_131" context="_1" location="f0:28" file="f0" line="28" extern="1"> + <Argument type="_131" location="f0:28" file="f0" line="28"/> + </Function> + <Function id="_89" name="__builtin_asin" returns="_130" context="_1" location="f0:27" file="f0" line="27" extern="1"> + <Argument type="_130" location="f0:27" file="f0" line="27"/> + </Function> + <Function id="_90" name="__builtin_acosl" returns="_129" context="_1" location="f0:26" file="f0" line="26" extern="1"> + <Argument type="_129" location="f0:26" file="f0" line="26"/> + </Function> + <Function id="_91" name="__builtin_acosf" returns="_131" context="_1" location="f0:25" file="f0" line="25" extern="1"> + <Argument type="_131" location="f0:25" file="f0" line="25"/> + </Function> + <Function id="_92" name="__builtin_acos" returns="_130" context="_1" location="f0:24" file="f0" line="24" extern="1"> + <Argument type="_130" location="f0:24" file="f0" line="24"/> + </Function> + <Function id="_93" name="__builtin_expect" returns="_128" context="_1" location="f0:16" file="f0" line="16" extern="1"> + <Argument name="EXP" type="_128" location="f0:16" file="f0" line="16"/> + <Argument name="C" type="_128" location="f0:16" file="f0" line="16"/> + </Function> + <Function id="_94" name="__builtin_prefetch" returns="_135" context="_1" location="f0:17" file="f0" line="17" extern="1"> + <Argument name="ADDR" type="_136" location="f0:17" file="f0" line="17"/> + <Ellipsis/> + </Function> + <Function id="_95" name="__builtin_return" returns="_135" context="_1" location="f0:13" file="f0" line="13" extern="1" attributes="nothrow noreturn"> + <Argument name="RESULT" type="_137" location="f0:13" file="f0" line="13"/> + </Function> + <Function id="_96" name="__builtin_return_address" returns="_137" context="_1" location="f0:14" file="f0" line="14" extern="1"> + <Argument name="LEVEL" type="_138" location="f0:14" file="f0" line="14"/> + </Function> + <Function id="_97" name="__builtin_frame_address" returns="_137" context="_1" location="f0:15" file="f0" line="15" extern="1"> + <Argument name="LEVEL" type="_138" location="f0:15" file="f0" line="15"/> + </Function> + <Function id="_98" name="__builtin_nansl" returns="_129" context="_1" mangled="nansl" demangled="__int128" location="f0:23" file="f0" line="23" extern="1" attributes="nothrow const"> + <Argument name="str" type="_139" location="f0:23" file="f0" line="23"/> + </Function> + <Function id="_99" name="__builtin_nansf" returns="_131" context="_1" mangled="nansf" demangled="__int128" location="f0:22" file="f0" line="22" extern="1" attributes="nothrow const"> + <Argument name="str" type="_139" location="f0:22" file="f0" line="22"/> + </Function> + <Function id="_100" name="__builtin_nans" returns="_130" context="_1" mangled="nans" demangled="__int128" location="f0:21" file="f0" line="21" extern="1" attributes="nothrow const"> + <Argument name="str" type="_139" location="f0:21" file="f0" line="21"/> + </Function> + <Function id="_101" name="__builtin_infl" returns="_129" context="_1" location="f0:20" file="f0" line="20" extern="1" attributes="nothrow const"/> + <Function id="_102" name="__builtin_inff" returns="_131" context="_1" location="f0:19" file="f0" line="19" extern="1" attributes="nothrow const"/> + <Function id="_103" name="__builtin_inf" returns="_130" context="_1" location="f0:18" file="f0" line="18" extern="1" attributes="nothrow const"/> + <Function id="_104" name="__builtin_logl" returns="_129" context="_1" mangled="logl" demangled="long" location="f0:67" file="f0" line="67" extern="1" attributes="nothrow"> + <Argument type="_129" location="f0:67" file="f0" line="67"/> + </Function> + <Function id="_105" name="__builtin_expl" returns="_129" context="_1" mangled="expl" demangled="long double" location="f0:47" file="f0" line="47" extern="1" attributes="nothrow"> + <Argument type="_129" location="f0:47" file="f0" line="47"/> + </Function> + <Function id="_106" name="__builtin_cosl" returns="_129" context="_1" mangled="cosl" demangled="char" location="f0:44" file="f0" line="44" extern="1" attributes="nothrow pure"> + <Argument type="_129" location="f0:44" file="f0" line="44"/> + </Function> + <Function id="_107" name="__builtin_sinl" returns="_129" context="_1" mangled="sinl" demangled="short" location="f0:80" file="f0" line="80" extern="1" attributes="nothrow pure"> + <Argument type="_129" location="f0:80" file="f0" line="80"/> + </Function> + <Function id="_108" name="__builtin_sqrtl" returns="_129" context="_1" mangled="sqrtl" demangled="short" location="f0:83" file="f0" line="83" extern="1" attributes="nothrow"> + <Argument type="_129" location="f0:83" file="f0" line="83"/> + </Function> + <Function id="_109" name="__builtin_logf" returns="_131" context="_1" mangled="logf" demangled="long" location="f0:66" file="f0" line="66" extern="1" attributes="nothrow"> + <Argument type="_131" location="f0:66" file="f0" line="66"/> + </Function> + <Function id="_110" name="__builtin_expf" returns="_131" context="_1" mangled="expf" demangled="long double" location="f0:46" file="f0" line="46" extern="1" attributes="nothrow"> + <Argument type="_131" location="f0:46" file="f0" line="46"/> + </Function> + <Function id="_111" name="__builtin_cosf" returns="_131" context="_1" mangled="cosf" demangled="char" location="f0:40" file="f0" line="40" extern="1" attributes="nothrow pure"> + <Argument type="_131" location="f0:40" file="f0" line="40"/> + </Function> + <Function id="_112" name="__builtin_sinf" returns="_131" context="_1" mangled="sinf" demangled="short" location="f0:76" file="f0" line="76" extern="1" attributes="nothrow pure"> + <Argument type="_131" location="f0:76" file="f0" line="76"/> + </Function> + <Function id="_113" name="__builtin_sqrtf" returns="_131" context="_1" mangled="sqrtf" demangled="short" location="f0:82" file="f0" line="82" extern="1" attributes="nothrow"> + <Argument type="_131" location="f0:82" file="f0" line="82"/> + </Function> + <Function id="_114" name="__builtin_log" returns="_130" context="_1" mangled="log" demangled="long" location="f0:62" file="f0" line="62" extern="1" attributes="nothrow"> + <Argument type="_130" location="f0:62" file="f0" line="62"/> + </Function> + <Function id="_115" name="__builtin_exp" returns="_130" context="_1" mangled="exp" demangled="long double" location="f0:45" file="f0" line="45" extern="1" attributes="nothrow"> + <Argument type="_130" location="f0:45" file="f0" line="45"/> + </Function> + <Function id="_116" name="__builtin_cos" returns="_130" context="_1" mangled="cos" demangled="char" location="f0:39" file="f0" line="39" extern="1" attributes="nothrow pure"> + <Argument type="_130" location="f0:39" file="f0" line="39"/> + </Function> + <Function id="_117" name="__builtin_sin" returns="_130" context="_1" mangled="sin" demangled="short" location="f0:75" file="f0" line="75" extern="1" attributes="nothrow pure"> + <Argument type="_130" location="f0:75" file="f0" line="75"/> + </Function> + <Function id="_118" name="__builtin_sqrt" returns="_130" context="_1" mangled="sqrt" demangled="short" location="f0:81" file="f0" line="81" extern="1" attributes="nothrow"> + <Argument type="_130" location="f0:81" file="f0" line="81"/> + </Function> + <Function id="_119" name="__builtin_fabsl" returns="_129" context="_1" location="f0:50" file="f0" line="50" extern="1" attributes="nothrow const"> + <Argument type="_129" location="f0:50" file="f0" line="50"/> + </Function> + <Function id="_120" name="__builtin_fabsf" returns="_131" context="_1" location="f0:49" file="f0" line="49" extern="1" attributes="nothrow const"> + <Argument type="_131" location="f0:49" file="f0" line="49"/> + </Function> + <Function id="_121" name="__builtin_fabs" returns="_130" context="_1" location="f0:48" file="f0" line="48" extern="1" attributes="nothrow const"> + <Argument type="_130" location="f0:48" file="f0" line="48"/> + </Function> + <Namespace id="_122" name="demangled" context="_1" members="_140 " mangled="_Z9demangled" demangled="demangled"/> + <FundamentalType id="_123" name="complex long double" size="256" align="128"/> + <FundamentalType id="_124" name="complex double" size="128" align="64"/> + <FundamentalType id="_125" name="complex float" size="64" align="32"/> + <FundamentalType id="_126" name="int" size="32" align="32"/> + <FundamentalType id="_127" name="long long int" size="64" align="64"/> + <FundamentalType id="_128" name="long int" size="64" align="64"/> + <FundamentalType id="_129" name="long double" size="128" align="128"/> + <FundamentalType id="_130" name="double" size="64" align="64"/> + <FundamentalType id="_131" name="float" size="32" align="32"/> + <PointerType id="_132" type="_129" size="64" align="64"/> + <PointerType id="_133" type="_131" size="64" align="64"/> + <PointerType id="_134" type="_126" size="64" align="64"/> + <FundamentalType id="_135" name="void" align="8"/> + <PointerType id="_136" type="_135c" size="64" align="64"/> + <PointerType id="_137" type="_135" size="64" align="64"/> + <FundamentalType id="_138" name="unsigned int" size="32" align="32"/> + <PointerType id="_139" type="_143c" size="64" align="64"/> + <Struct id="_140" name="buggy" context="_122" mangled="N9demangled5buggyE" demangled="demangled::buggy" location="f1:18" file="f1" line="18" artificial="1" size="8" align="8" members="_145 _147 _148 _149 _150 " bases=""/> + <Struct id="_141" name="item_t<25214903917,11,2147483648>" context="_122" mangled="N9demangled6item_tILm25214903917ELm11ELm2147483648EEE" demangled="demangled::item_t<25214903917l, 11l, 2147483648l>" location="f1:12" file="f1" line="12" artificial="1" size="8" align="8" members="_151 _152 _153 _154 _155 " bases=""/> + <Field id="_145" name="my_item_var" type="_141" offset="0" context="_140" access="public" mangled="_ZN9demangled5buggy11my_item_varE" demangled="demangled::buggy::my_item_var" location="f1:21" file="f1" line="21"/> + <FundamentalType id="_146" name="long unsigned int" size="64" align="64"/> + <Typedef id="_147" name="ulong" type="_146" context="_140" access="public" location="f1:19" file="f1" line="19"/> + <Typedef id="_148" name="my_item_t" type="_141" context="_140" access="public" location="f1:20" file="f1" line="20"/> + <Constructor id="_149" name="buggy" artificial="1" throw="" context="_140" access="public" mangled="_ZN9demangled5buggyC1ERKS0_ *INTERNAL* " demangled="demangled::buggy::buggy(demangled::buggy const&)" location="f1:18" file="f1" line="18" inline="1"> + <Argument name="_ctor_arg" type="_156" location="f1:18" file="f1" line="18"/> + </Constructor> + <Constructor id="_150" name="buggy" explicit="1" artificial="1" throw="" context="_140" access="public" mangled="_ZN9demangled5buggyC1Ev *INTERNAL* " demangled="demangled::buggy::buggy()" location="f1:18" file="f1" line="18" inline="1"/> + <Variable id="_151" name="v1" type="_146c" init="25214903917" context="_141" access="public" mangled="_ZN9demangled6item_tILm25214903917ELm11ELm2147483648EE2v1E" demangled="demangled::item_t<25214903917l, 11l, 2147483648l>::v1" location="f1:13" file="f1" line="13" extern="1"/> + <Variable id="_152" name="v2" type="_146c" init="11" context="_141" access="public" mangled="_ZN9demangled6item_tILm25214903917ELm11ELm2147483648EE2v2E" demangled="demangled::item_t<25214903917l, 11l, 2147483648l>::v2" location="f1:14" file="f1" line="14" extern="1"/> + <Variable id="_153" name="v3" type="_146c" init="2147483648" context="_141" access="public" mangled="_ZN9demangled6item_tILm25214903917ELm11ELm2147483648EE2v3E" demangled="demangled::item_t<25214903917l, 11l, 2147483648l>::v3" location="f1:15" file="f1" line="15" extern="1"/> + <Constructor id="_154" name="item_t" artificial="1" throw="" context="_141" access="public" mangled="_ZN9demangled6item_tILm25214903917ELm11ELm2147483648EEC1ERKS1_ *INTERNAL* " demangled="demangled::item_t<25214903917l, 11l, 2147483648l>::item_t(demangled::item_t<25214903917l, 11l, 2147483648l> const&)" location="f1:12" file="f1" line="12" inline="1"> + <Argument name="_ctor_arg" type="_158" location="f1:12" file="f1" line="12"/> + </Constructor> + <Constructor id="_155" name="item_t" explicit="1" artificial="1" throw="" context="_141" access="public" mangled="_ZN9demangled6item_tILm25214903917ELm11ELm2147483648EEC1Ev *INTERNAL* " demangled="demangled::item_t<25214903917l, 11l, 2147483648l>::item_t()" location="f1:12" file="f1" line="12" inline="1"/> + <ReferenceType id="_156" type="_140c" size="64" align="64"/> + <CvQualifiedType id="_146c" type="_146" const="1"/> + <ReferenceType id="_158" type="_141c" size="64" align="64"/> + <FundamentalType id="_143" name="char" size="8" align="8"/> + <CvQualifiedType id="_143c" type="_143" const="1"/> + <CvQualifiedType id="_135c" type="_135" const="1"/> + <CvQualifiedType id="_141c" type="_141" const="1"/> + <CvQualifiedType id="_140c" type="_140" const="1"/> + <File id="f0" name="/usr/local/share/gccxml-0.7/GCC/4.1/gccxml_builtins.h"/> + <File id="f1" name="/home/gotti/pygccxml-0.8.1/unittests/data/demangled.hpp"/> +</GCC_XML> Modified: pygccxml_dev/unittests/demangled_tester.py =================================================================== --- pygccxml_dev/unittests/demangled_tester.py 2006-08-26 17:26:11 UTC (rev 475) +++ pygccxml_dev/unittests/demangled_tester.py 2006-08-26 18:27:22 UTC (rev 476) @@ -3,6 +3,7 @@ # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +import os import unittest import autoconfig import parser_test_case @@ -11,26 +12,49 @@ from pygccxml import parser from pygccxml import declarations -class tester_t( parser_test_case.parser_test_case_t ): - def __init__(self, *args ): +class tester_impl_t( parser_test_case.parser_test_case_t ): + def __init__(self, architecture, *args ): parser_test_case.parser_test_case_t.__init__( self, *args ) self.header = 'demangled.hpp' self.global_ns = None + self.architecture = architecture def setUp(self): - if not self.global_ns: - decls = parser.parse( [self.header], self.config ) - self.global_ns = declarations.get_global_namespace( decls ) - self.global_ns.init_optimizer() + reader = parser.source_reader_t( self.config ) + decls = None + if 32 == self.architecture: + decls = reader.read_file( self.header ) + else: + original_get_architecture = utils.get_architecture + utils.get_architecture = lambda: 64 + decls = reader.read_xml_file( + os.path.join( autoconfig.data_directory, 'demangled_tester_64bit.xml' ) ) + utils.get_architecture = original_get_architecture + self.global_ns = declarations.get_global_namespace( decls ) def test( self ): demangled = self.global_ns.namespace( 'demangled' ) - cls = demangled.class_( 'item_t<3740067437l, 11l, 2147483648l>' ) - self.failUnless( cls._name == 'item_t<0deece66d,11,080000000>' ) - + if 32 == self.architecture: + cls = demangled.class_( 'item_t<3740067437l, 11l, 2147483648l>' ) + self.failUnless( cls._name == 'item_t<0deece66d,11,080000000>' ) + else: + cls = demangled.class_( "item_t<25214903917l, 11l, 2147483648l>" ) + self.failUnless( cls._name == 'item_t<25214903917,11,2147483648>' ) + + +class tester_32_t( tester_impl_t ): + def __init__(self, *args): + tester_impl_t.__init__(self, 32, *args) + +class tester_64_t( tester_impl_t ): + def __init__(self, *args): + tester_impl_t.__init__(self, 64, *args) + + def create_suite(): suite = unittest.TestSuite() - suite.addTest( unittest.makeSuite(tester_t)) + suite.addTest( unittest.makeSuite(tester_32_t)) + suite.addTest( unittest.makeSuite(tester_64_t)) return suite def run_suite(): Modified: pyplusplus_dev/examples/pyboost_dev/dev/date_time/sconscript =================================================================== --- pyplusplus_dev/examples/pyboost_dev/dev/date_time/sconscript 2006-08-26 17:26:11 UTC (rev 475) +++ pyplusplus_dev/examples/pyboost_dev/dev/date_time/sconscript 2006-08-26 18:27:22 UTC (rev 476) @@ -1,49 +1,49 @@ -#! /usr/bin/python -# Copyright 2004 Roman Yakovenko. -# Distributed under the Boost Software License, Version 1.0. (See -# accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -import os -import sys -import date_time_settings - -Import( 'env' ) - -def get_ccflags(): - if sys.platform == 'win32': - return date_time_settings.scons.ccflags \ - + map( lambda ds: '/D%s' % ds, date_time_settings.defined_symbols ) - else: - return map( lambda ds: '-D' + ds, date_time_settings.defined_symbols ) - -def get_source_files(): - source_files = filter( lambda s: s.endswith( '.cpp' ), os.listdir(date_time_settings.generated_files_dir) ) - return map( lambda fname: os.path.join( date_time_settings.generated_files_dir, fname ), source_files ) - - -def get_libs(): - libs = [] - if sys.platform == 'linux2': - libs.append('libboost_date_time-gcc-1_35') - return libs - -def get_target(): - return os.path.join( date_time_settings.generated_files_dir - , date_time_settings.module_name + date_time_settings.scons.suffix ) - -local_env = env.Copy() -local_env.Append( LIBS=get_libs() ) -local_env.Append( CPPPATH=[ date_time_settings.generated_files_dir ] ) -local_env.Append( CCFLAGS=get_ccflags() ) - -_date_time_ = local_env.SharedLibrary( target=date_time_settings.module_name - , source=get_source_files() ) - -if sys.platform == 'win32': - boost_date_time_so_dll = os.path.join( date_time_settings.boost.libs, 'boost_date_time-vc71-mt-1_35.dll' ) -else: - boost_date_time_so_dll = os.path.join( date_time_settings.boost.libs, 'libboost_date_time-gcc-1_35.so' ) - - +#! /usr/bin/python +# Copyright 2004 Roman Yakovenko. +# Distributed under the Boost Software License, Version 1.0. (See +# accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import os +import sys +import date_time_settings + +Import( 'env' ) + +def get_ccflags(): + if sys.platform == 'win32': + return date_time_settings.scons.ccflags \ + + map( lambda ds: '/D%s' % ds, date_time_settings.defined_symbols ) + else: + return map( lambda ds: '-D' + ds, date_time_settings.defined_symbols ) + +def get_source_files(): + source_files = filter( lambda s: s.endswith( '.cpp' ), os.listdir(date_time_settings.generated_files_dir) ) + return map( lambda fname: os.path.join( date_time_settings.generated_files_dir, fname ), source_files ) + + +def get_libs(): + libs = [] + if sys.platform == 'linux2': + libs.append('libboost_date_time-gcc-1_35') + return libs + +def get_target(): + return os.path.join( date_time_settings.generated_files_dir + , date_time_settings.module_name + date_time_settings.scons.suffix ) + +local_env = env.Copy() +local_env.Append( LIBS=get_libs() ) +local_env.Append( CPPPATH=[ date_time_settings.generated_files_dir ] ) +local_env.Append( CCFLAGS=get_ccflags() ) + +_date_time_ = local_env.SharedLibrary( target=date_time_settings.module_name + , source=get_source_files() ) + +if sys.platform == 'win32': + boost_date_time_so_dll = os.path.join( date_time_settings.boost.libs, 'boost_date_time-vc71-mt-1_35.dll' ) +else: + boost_date_time_so_dll = os.path.join( date_time_settings.boost.libs, 'libboost_date_time-gcc-1_35.so' ) + + local_env.Install( '#pyboost/date_time', [_date_time_, boost_date_time_so_dll ] ) \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |