From db26073c6a00c2077a45e73c5d8c399550402afc Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Thu, 20 Jan 2011 06:39:15 +0000 Subject: [PATCH] Object: Add some tests! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123899 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../trivial-object-test.coff-i386 | Bin 0 -> 346 bytes .../trivial-object-test.coff-x86-64 | Bin 0 -> 347 bytes .../trivial-object-test.elf-i386 | Bin 0 -> 716 bytes .../trivial-object-test.elf-x86-64 | Bin 0 -> 1024 bytes .../trivial-object-test.macho-i386 | Bin 0 -> 552 bytes .../trivial-object-test.macho-x86-64 | Bin 0 -> 552 bytes test/Object/dg.exp | 3 + test/Object/nm-trivial-object.test | 19 ++++++ test/Object/objdump-trivial-object.test | 54 ++++++++++++++++++ 9 files changed, 76 insertions(+) create mode 100644 test/Object/TestObjectFiles/trivial-object-test.coff-i386 create mode 100644 test/Object/TestObjectFiles/trivial-object-test.coff-x86-64 create mode 100644 test/Object/TestObjectFiles/trivial-object-test.elf-i386 create mode 100644 test/Object/TestObjectFiles/trivial-object-test.elf-x86-64 create mode 100644 test/Object/TestObjectFiles/trivial-object-test.macho-i386 create mode 100644 test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 create mode 100644 test/Object/dg.exp create mode 100644 test/Object/nm-trivial-object.test create mode 100644 test/Object/objdump-trivial-object.test diff --git a/test/Object/TestObjectFiles/trivial-object-test.coff-i386 b/test/Object/TestObjectFiles/trivial-object-test.coff-i386 new file mode 100644 index 0000000000000000000000000000000000000000..8cfd9949b1bd304722b31da0003d3ed9feda4b67 GIT binary patch literal 346 zcmeZaWMWw7(C4$6fq{Voh(SQFB(|4MDr1z!+byyRv>0$5C)SB3?d8?Ko&a? zi!gYk=H%ongy$FKq$r{|j}a)%%m^|Q7KG^@>Z1AVOeW4Dkh}CB;xRAPSGRpjz`(!(#2}zol3Gy$VS-6DAejQhT~IM*Ag#aG!e1BFY5S>e+Mu;K`YGI)e#3qZ;6n3W2C=#>~vA!e=IlbKK-9)rfNNN6+LK=UF zg^j&%zBzZ{v~u9>o1ORAo&9(`Y_~kmE0PV5isZQocx)$)thPmEn#rj|qmRnupjwvN zq*N7p|4P#|8=fJIUMnxhItMS6z;dg?(-{6lzK;@prg`~ymxQhh zc^UH}t=NjRwTM$?o7>s~c+KWQGAE9MyTA`?rgNpcTw|TEN@(B*5#0s3PXWZ9u zYZ!GoFcFbreb1y~)AQL^3CDF+Clwji>ge>MmayNwhO9$tOdba8cSxK++_#zR|Id(n z5x6UBBG0ZKERmfBEH5R#9YFLRFbB90O=1~vc^&z!6m#LUP1I&>UH$_D@^({zcuIi$ vgl)jRMjQDUcmkwf@rqA++ymUldqZBqBD-K0Zr>&f&L^K>AHs<S5XUENwE+>N2S31rf_Q7NdeMtS&>B$mAmVx3t~8ovCA%&4WT8hN#|N;W z;H!A>;$5ga&1~JKdT}B7&HQI(voqO;qtj~6aq>XRfqig{V>9>T_#@K?7m5({Kis#& zjRH!~_qvGiF> zCwU6kLjgXAQvogHfA3K1R+Cm?e&U2_U`eB7?XyYw*xmx!Hdg=8K_y`)WKmhvZg^dl z6_?7B&|+Z>cWou%LbUj~YVxGoj_WEEF@UFdSAmy^22;$FDyeuC@M593cYJnPmWtJH zb(lwtGUa_su^M1%$|hO%3IAu~obkbbVlST@GZz!f&IbQ6)^BI>ugN#}gj{Rlsj{en z^=9pmA&rosor@tn-{|sE-Y&6A42UzDSnHC%Osr_yx28w>AVZuF?vbtE)0%z%eL7%| ZX!@b;CVEBfAX6`??umF}3W+3-)o;~NR|Wt8 literal 0 HcmV?d00001 diff --git a/test/Object/TestObjectFiles/trivial-object-test.macho-i386 b/test/Object/TestObjectFiles/trivial-object-test.macho-i386 new file mode 100644 index 0000000000000000000000000000000000000000..099bd1ebf23ba16ad2da9ffd8b36a330a3fae9ba GIT binary patch literal 552 zcmX^2>+L^w1_lOZAZCQpIUt4tgwFzEV*%Dcu@0adhz9A0nE_H7A77GMQ37H?Kzw|N zYeWc)2ccDf6i7b{kUj#WLG}YV4Il~x;^UKxONuh{(jim4TM%E8n3R(W;d}Z9_y@sVVh9xE0^*%$W^gbtw1CvJ0x`%u2_Sv~bt4B*Kmo|- z2I2r9Mg|~bKp5E#$nqfe9iRei^388}j=QJ;ZDwFN&Y}YH-3xgTAqphAffCI}cn*7{ z=H%ongy$FKq$o0cfdjDnfZ@j~3{(rE`G7Rg4sg_g>;k!oA4C8FD4rO>A`A>tNNk4q h+{Da0hWOz8+*JRPjMO5x(!Au7%zU6wL1{@b0|1|UKz;xK literal 0 HcmV?d00001 diff --git a/test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 b/test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 new file mode 100644 index 0000000000000000000000000000000000000000..93eeb5deceb07f0407b85d423cc44a835c74d8ba GIT binary patch literal 552 zcmX^A>+L^w1_nlE1|R{%AUXiVPyk{ekOblvU>0`56e?T*(gOrAKF~}C5M}}i0zrIy zNoqw2gbm?`xJHB^_%N0RlmRl21;}0jq(N>1avDGs48+GL7nc-e=A}ag;^R@xgPFq% zm7f81A51^YUC4Y1Am;$oUXa508|mk2p9(GM>hki3@_!;{D$MWiwekV3?99< zAPOA31_!`YH&Du>`3T2hkJOx;e1-7*qMQ^(kRoXy2HK}90;GZAq00{vWMGh001|vq zw}J#f?&Aj$Pyq5j5*HjN$b5$Q+{Da0hWLWgl46GV;QZWF|B{T