[PATCH] D153382: [lld-macho][test] Make reloc-subtractor.s robust

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 20:48:13 PDT 2023


MaskRay added inline comments.


================
Comment at: lld/test/MachO/reloc-subtractor.s:52
 
+.section __DATA,bar
+_minuend_1:
----------------
smeenai wrote:
> Is it important to repeat the `.section` directive?
Yes, the above check lines test this...
`# CHECK:       {{0*}}[[#%x, SUB1ADDR:]] l {{.*}} __DATA,bar _sub1`




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153382/new/

https://reviews.llvm.org/D153382



More information about the llvm-commits mailing list