[PATCH] D81148: [MC] Fix DWARF forms for 64-bit DWARFv3 files [6/7]
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 11:33:28 PDT 2020
MaskRay accepted this revision.
MaskRay added a comment.
With one test change
================
Comment at: llvm/test/MC/ELF/gen-dwarf64.s:4
+# RUN: llvm-mc -g -dwarf-version 3 -dwarf64 -triple x86_64 %s -filetype=obj -o %t3.o
+# RUN: llvm-readobj -r %t3.o | FileCheck --check-prefixes=REL %s
+# RUN: llvm-dwarfdump -v %t3.o | FileCheck --check-prefixes=DUMP,DUMP3 %s
----------------
`--check-prefixes=REL,REL3`
================
Comment at: llvm/test/MC/ELF/gen-dwarf64.s:18
# REL5-NEXT: R_X86_64_64 .debug_rnglists 0x14
# REL: Section ({{[0-9]+}}) .rela.debug_aranges {
# REL-NEXT: R_X86_64_64 .debug_info 0x0
----------------
This `REL` can be `REL-NEXT` to prevent the accidental omission of `check-prefixes=REL,REL3`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81148/new/
https://reviews.llvm.org/D81148
More information about the llvm-commits
mailing list