From 1dc437cb45e5a299e4923b15eb1bdf2c3dbbf6a2 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Mon, 13 Oct 2014 17:03:13 +0000 Subject: [PATCH] Add VS2012-generated test inputs for test/tools/llvm-readobj/codeview-linetables.test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219621 91177308-0d34-0410-b5e6-96231b3b80d8 --- ...dat-function-linetables.obj.coff-2012-i386 | Bin 0 -> 2005 bytes .../multifile-linetables.obj.coff-2012-i368 | Bin 0 -> 1631 bytes .../multifile-linetables.obj.coff-2012-x86_64 | Bin 0 -> 1799 bytes ...ultifunction-linetables.obj.coff-2012-i368 | Bin 0 -> 2155 bytes ...tifunction-linetables.obj.coff-2012-x86_64 | Bin 0 -> 2475 bytes .../llvm-readobj/codeview-linetables.test | 18 ++++++++++++++---- 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100755 test/tools/llvm-readobj/Inputs/comdat-function-linetables.obj.coff-2012-i386 create mode 100755 test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2012-i368 create mode 100755 test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2012-x86_64 create mode 100755 test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2012-i368 create mode 100755 test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2012-x86_64 diff --git a/test/tools/llvm-readobj/Inputs/comdat-function-linetables.obj.coff-2012-i386 b/test/tools/llvm-readobj/Inputs/comdat-function-linetables.obj.coff-2012-i386 new file mode 100755 index 0000000000000000000000000000000000000000..4a723044801ba5262dea95d337c9a2fdcf7059e3 GIT binary patch literal 2005 zcmcIl%}*0i5T9*n%ZDK?hsF>OFHI96+R{d&1SJ&8hn2Q8P!Mr7!ggENw6xjX^5Lm5 z-Y^j_9E^X5Cl4kjMowNmd65f=At`7);>^C?x@{y9KPH)dGxO&C-kW)|Z<2xsUhQAY zZn^<_fKxc9%96e&n<@;Ta8a-{bL{j&I47@E3&A;SW)FosEq*cZj+uU0%P->q7(up^ z;it@Nuz0ytQHrt(Uvb4*WXiZ#INJWS z|MLCr3vb7}wBY*u5#R{z3FM|tB?*Gr2n)(96*i26QemWDW*68!!+>@&a7E+FAkGdm zf}(iZk=>B=b$J0OMmGpX<#a>4w{d+q*A0Rnr$InD4~KQTUNCf*G0$@X^_#%;_>h=U z%LR40#3nINjrDB|Ug;NqCS*a;s>?+-r&n`InMI@Fh`10J#}a8#Du(3^8Lin+-U)4fsslIXTE*BsI5uVPM96BX1@3gq)|FLN$CcR(3oQcPEx$XX zu(8H^P2H^bH7Od6ge$ofI%_XD{Vr(36S|N)knt_S+5x<``K>RP-rRjlW%Ug?h-?wP z26jS!a3Wj3*)+=MVaoW;EI(R9KJ*7WXn{dO9?n5eL$%E2_}BpsnDN0O>Ji(VwLjrm z=fX#lFJ`_fa7CIVJt5%>)}Y`xd1h8u{R>BZl^%4sG01| zfO?8k*lTt`&E9~F>k_C1HIuzrP)RwlF>>17{Jz6qS^Hje-A;j84@pFAhGfT~{_#5; nqePo<+%`l57?By)BvCgv;G0Vpdi_W8vDod=8;eUYQm~{S3I0mm literal 0 HcmV?d00001 diff --git a/test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2012-i368 b/test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2012-i368 new file mode 100755 index 0000000000000000000000000000000000000000..213331f604e0bdbe92b6e5f4d42dfce70613f26f GIT binary patch literal 1631 zcmbtU-)qxw5Wn=ty0vq(b5szKFQwpyG;3k#s1CNZo7A=Y;nGbcI@=`eB5f1WbQ?Yu z2YV3&{}&(hP4K}teHQj2z9^2tHuvJoylav!gNdSFxZK_6e&q7K%jG#AjC{K#Z2JNF z!8*KbD3ZCM*eZ;o@XApf9t;C7E9F)-zU)AI9KaV;K6)$!Q^F*Kr)@vM@moYY=XErT zcl=Cc%XGm*C@*0Wg%aVR5C)5n8Dpc_nc1mgUdZRB(=mKx3PS8GxRB4zPZegCW6XzP z2S`gu7lDf)gKSz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wH7o452@rCur8qUS=dn5^2? zytQPN=R~$LU$shR4eh@`Q&3-`z9a2!Se_A|$2s^1>5R)mHX-iAZ93S-eN<`E0qP1u zAC~rR8@177C#@mQw0!gb&-r{_@Eys);eTK%o&U`{91v9&{}*qpyvrM$UEVvl;GJk0 zJG!W9}cMl$)#-aKId<;rPuvv9V6*3}a&Q`@K7^^BcJ|Yf@Yc2qs0WYX~ zK|j8p5=g^mfY*KpBZ=&^rG}Wz&-|;09A|#JxbDxQB`_TdKh4j z1MCev9(OyXaOl~KQIGVZbUDDZ0OM1#gA|@5%vML7SIHGHj#67(Ve9ZWrJHe%o3yst z8ZZ757k`PD5JxHE_Qy>?XQiJV(9YK?bG4ayF^0ok7d_4XqrKY3C2-NIH)cv=%5E4| zMfCNl8SP?L8y=s~^pa{eP2^pXxzbmTiL@@#`GQD~C;u|@_(V20Ju;g7hZIAFTz)L8 zZ6nhqt87#j>f)Sb*R_5O%_{4qhGA;;n=>`j*pdWc9>d*OWZH>!C}ZrX3nb_5w+S2b zTPFKcw*{+Qv(dAV73s_LX>GMj&b7SCb;i0ShIPH8_w{Aesxiy>ehPI*s2%J&pu3>E zp)u&%>h%4Oyxr;Q^B1oCE_NHqmb_2-rcL1SJ-%)EL?x&fZ$2prQt|fM4eF>Fs$~>c zUeb>reE$p<%^6$GWR?|jJfyYs@~nmwF20+kwd~^9pbZyZF18!eT5|aWg%mEjn?-FY uw>+AV!nYUSVsrPZ4h-b_l4rfQK*71*+(5$QB8wh^sU(RM{q{b>`F{d96j5UU literal 0 HcmV?d00001 diff --git a/test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2012-x86_64 b/test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2012-x86_64 new file mode 100755 index 0000000000000000000000000000000000000000..8d30f325d70b1a8019d67f5655e77aed7da4793b GIT binary patch literal 2475 zcmb_eOK%%h6h4!2oYYQ&6CzU{iz~|&?!psCtx6RTa_l%H)K03#EfE@tI-YSD6x)$K zZtaMLrAUYc5{LzBD*7{6fM5v-34|)xvf!nNq^wY(eCN)?cnSjYs zEa&pd9`AMV#zJ1rv65$-T{{48!ru=QeFtS3g$lZSUF#YZyCNZ3oJKi`{DYFEOjg?+ z<|RQm1Kz63J%u{+gb;H}h2_Po#d2{qw~#=QFO?I+;CgXsZLw6?NC?jS5PAhVOUg71 zEiLHnW~Ws(wdU4qv_Q{I({-XRi5qJN|d1x-Y{LFona~|YUJ83RieCG+rV&ScJ zUV21P^v&_Ho#nht!t(q<``qUvu)o3bw|q)s$~X7Ey7hD6&);u-9R2>i+t1^G+y##B zhzx(DRJqFYi!oA|iqlib{Z07j5BiqtMd(8x`^d*;(Gef7D4lk_2(9>7(Z}A0$Nfg> zw(CXcYahGgV?4evDKjt_*LaNgg%sozp^=yZJAu(nkrHQ|>s>lJ4Ay(c>a}C_J=7yK zD!<2h!TE9g{DOYD)!c4X>S7s3pe<6}ix(w32?3#4o#!SEbj7V2Sx>OeF)x^K-VRbEEyt-6K{D%;W!=KKq-TxLpPrMB+0XfrjXe?-k(j`3ljCDES11XdR`)Q}D`# za@gI+EC_tseF^&BjlqqKtBB}%pV(jo cl /Z7 /Gy /c test.cc ; with the following contents of C:\src\test.cc: ; int f() @@ -330,7 +338,9 @@ MFILE64-NEXT: ] ; { ; return 0; ; } -; using 32-version of CL v18.00.21005.1. +; using 32-version of CL v17.00.61030 and v18.00.21005.1 respectively. +RUN: llvm-readobj -s -codeview-linetables %p/Inputs/comdat-function-linetables.obj.coff-2012-i386 \ +RUN: | FileCheck %s -check-prefix MCOMDAT RUN: llvm-readobj -s -codeview-linetables %p/Inputs/comdat-function-linetables.obj.coff-2013-i386 \ RUN: | FileCheck %s -check-prefix MCOMDAT