From 840c891a8c248f1eb65981f492165b037e126652 Mon Sep 17 00:00:00 2001 From: Sergey Dmitriev Date: Tue, 12 Nov 2019 20:19:17 -0800 Subject: [PATCH] [llvm-objcopy][NFC] Use generated object file in COFF/add-section.test Updated LIT test from D70205 to use generated object file with extended relocation table. Differential Revision: https://reviews.llvm.org/D70269 --- .../COFF/Inputs/x86_64-obj-xrelocs.yaml.gz | Bin 0 -> 189601 bytes .../COFF/Inputs/x86_64-xrelocs.obj.gz | Bin 88299 -> 0 bytes .../tools/llvm-objcopy/COFF/add-section.test | 19 ++++++------------ 3 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 llvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-obj-xrelocs.yaml.gz delete mode 100644 llvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-xrelocs.obj.gz diff --git a/llvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-obj-xrelocs.yaml.gz b/llvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-obj-xrelocs.yaml.gz new file mode 100644 index 0000000000000000000000000000000000000000..5ef0a7a9e77fd0f6ae37aae8810b58ec961cc719 GIT binary patch literal 189601 zcmeI53sh5Ay2m?%8t_55^eR4hSx`o9#bJEKXHaWJu(3mM?ouzq6s9BPR*5faEs{YZ zIHjW0B33gZ6(+{sX|+`us0`*G2013r9b<@>MH z>SvXGwLE@b&F$8qw-3HrdU@@|z&okGnwxu7Hh;?gVbc%4<8t(k0;hXLJMR4-aidAR zW|YU}j3l3v7Y`o(O~vWo{PNe65C6AUoxY4{5fa}McOngZLKmt3mT2)Z7%GV(X^R_C zyI9(~S4Dh4JP{fc(q=blYh>$vRZALS_}cI=Qs1aDe5q>Nt7^_7+Ej*Xs@4Kk^Ip{t zjrxy>+eCX4al4MVF4Uu$iiy_6M01_tzN-0qq6SSWB)%nD`NYF)L%ont5Up)r>YoVp z4=Rabq9U^PzO<>1Fk~AH*?L0-kwr91N40qow<`_TRqfZLZ68SW`BHrx(K^A<7)f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!+lv{El0YZ*A9;(FxG*~n*+oDg%5ywKclc94C3)MoorI-ti5(Cfx zC8Bc6))V96y;Z|!>@dl0W}lM|k4jW)`O92Vo+E`i(g@Qe${Bqtjm{`eD>{r&P(h~A zyOQAwIcvE$|Bdu#H7pd%Jy+29JpVCCkIs72N4==GWz)a!pXo9!3_UJ&w__+6uG3^6 zRf;?LVlvl+0>iseIa-wzWO@ktf=))7NZjnWdn42Cv#xA#hr4H{#NSsAIdMw%6ANg& zj&zwA^g671U7smy{7*F}&L%I|4%lboyno`LgHI)gAo`mT8OPS4O+|F?k{q&;^yuGgk$+KvR|$Wr5hm26!ap7&vfCT7Cg(Bm1O9uG^Qcb!aR`kN_Fshl&8JZr=pO8 zKAysWZgZX-hY;=%xspdg?v}%q+ttMlyQRXg$}DbFW$H)`l+nmj8rJiPfwr-gl85{FG>YYm$(}Lu+j{; zXqvT9aJuA#2Q$Ix5=%oN=xX3}$!u4{BC%C~(CqDe-3(>IA#m=k8eCGYhoa38?-onbV|8V=XRdQ^Fu=b<1yQ3!mYo1z}Diiaa z6rM;dLosc^g2o*Z-Ds`mnIG7@%=xBTi6!mc-a#!>f}vU!wcjQ5*J?bXd25h?%05(y z>4!`%|8yc_BU0P`ma&m>(t~upj6Jv+##36%>Du0yv!$&qs=CTePX`%dh5APi_SPjfx0O!) zS|x4N-70ePdYDSIH9Y>lNVTcuaZM9nby{D4J*_EDXz-gYZMj)7b@Af3-x}^0WDy(m X-+j5FEL$jj>c?+a4>(?$@XG%KK27TU literal 0 HcmV?d00001 diff --git a/llvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-xrelocs.obj.gz b/llvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-xrelocs.obj.gz deleted file mode 100644 index 9b3cf4ad0e0e5248b02fe8824d3176ea34540536..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 88299 zcmeI5dsI~Q+Q%~wQCQ7uUMM*_mKmr==QVE$=?-tGD2S-MX*#AEpy{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_Vv15aN@41;Tj8^=aY@)Nj1s$*Ol*v@F_}9s zOl;bD3CMN|6GsvW*!dlz+X9aFsE<|~Xu`k;yZ@2CT%ePkX5-`Y+ms>^?@8z}MV?sM z@%VWe?x~~ja>P}^sZDqQYMv;5!-`ktVP2xOngXZq-&D*;IpA&bU4Dx9o*gJFJ( zVbav^02cXNj1tdl5K<_a!8oT1#V`+JGHL4fKK1&xLl`BV*C609Q-fi~W0;>)GG&_j zy^lrS2cz7FQR15i2E2g0FibkHp-`r#{e5hV$}!4Kn9Lly%uN`kwJFR7W$S2j_Y3>X zZQ>>db?-XUL$!VF6Z5xqh@1S!uD-7a{*dzKABPRA9QJeZw*Re;+&rOQn}C$~H0Pfg zZ+UFm6tr&KrEkUW#P8~E3^XM#>Gb)EyrTum_m(Y7df%@}r^hj;ud3Vg>74OC=^J*} zrQUyJ#A=gMJ%;(De({{Mv8s2$Z!}7;aHgoSlScLL=^RrS9QzyhEer2X9`5$bwak(& zv+mzmJhXPCGmvo~-7$1TuX%NQJ?}p=wxi8?>%7|kmqud4sz={{E~lI1)HwF#cl%Vb z4@z)`h3tbm&=1<_R1eiJC1F+LH20ql*2{ADT#0ey%xp^6{L&0Cwlw}Xw8P=N0|wc2 z+HA(=-J$7>O~Gk5nZ{*OlD@_o7fgTB5{`LyCL)k`=Xnw1U2&Rs$h)&lJ9t*v+7sYdFoeIx6@1A{$O&uctSVaa?}2D^%e2^{9R_D zvF>!7-rkU0ktDqwV``^WiOULafN~3aPO|WpyEDpW%c0+*Fm@nU6R2gW>NY&=wsBtKdUm0~We(K}TJ@)@e C( %t.in.xrelocs.obj -# RUN: llvm-objcopy --add-section=.test.section=%t.sec %t.in.xrelocs.obj %t1.xrelocs.obj +# RUN: %python %p/../Inputs/ungzip.py %p/Inputs/x86_64-obj-xrelocs.yaml.gz > %t.xrelocs.yaml +# RUN: yaml2obj %t.xrelocs.yaml > %t.xrelocs.obj +# RUN: llvm-objcopy --add-section=.test.section=%t.sec %t.xrelocs.obj %t1.xrelocs.obj # RUN: llvm-readobj --file-headers --sections --section-data %t1.xrelocs.obj | FileCheck %s --check-prefixes=CHECK-EXTENDED-RELOCS -# CHECK-EXTENDED-RELOCS: SectionCount: 5 +# CHECK-EXTENDED-RELOCS: SectionCount: 2 # CHECK-EXTENDED-RELOCS: Name: .data -# CHECK-EXTENDED-RELOCS-NEXT: VirtualSize: -# CHECK-EXTENDED-RELOCS-NEXT: VirtualAddress: -# CHECK-EXTENDED-RELOCS-NEXT: RawDataSize: -# CHECK-EXTENDED-RELOCS-NEXT: PointerToRawData: -# CHECK-EXTENDED-RELOCS-NEXT: PointerToRelocations: -# CHECK-EXTENDED-RELOCS-NEXT: PointerToLineNumbers: -# CHECK-EXTENDED-RELOCS-NEXT: RelocationCount: 65535 -# CHECK-EXTENDED-RELOCS-NEXT: LineNumberCount: 0 -# CHECK-EXTENDED-RELOCS-NEXT: Characteristics [ +# CHECK-EXTENDED-RELOCS: RelocationCount: 65535 +# CHECK-EXTENDED-RELOCS: Characteristics [ # CHECK-EXTENDED-RELOCS-NEXT: IMAGE_SCN_ALIGN_16BYTES # CHECK-EXTENDED-RELOCS-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA # CHECK-EXTENDED-RELOCS-NEXT: IMAGE_SCN_LNK_NRELOC_OVFL # CHECK-EXTENDED-RELOCS-NEXT: IMAGE_SCN_MEM_READ -# CHECK-EXTENDED-RELOCS-NEXT: IMAGE_SCN_MEM_WRITE # CHECK-EXTENDED-RELOCS-NEXT: ] # CHECK-EXTENDED-RELOCS: Name: .test.section # CHECK-EXTENDED-RELOCS: Characteristics [