[PATCH] D40914: [NFC] Change the DWARF v5 string offsets table tests to generate the test object as part of the test.

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 11:56:22 PST 2017


wolfgangp created this revision.
Herald added a subscriber: JDevlieghere.

The DWARF v5 string offsets table tests currently use pre-generated object files that are checked into llvm/test/DebugInfo/Inputs. To avoid this, this change moves the assembly files that are used to generate the objects into DebugInfo/X86 and augments them to use llvm-mc to generate the objects as temporary files, and then goes on to do the actual test. This enables us to remove the objects as well as the test scripts.


https://reviews.llvm.org/D40914

Files:
  test/DebugInfo/Inputs/dwarfdump-str-offsets-dwp.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets-dwp.x86_64.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-1.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-1.x86_64.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-2.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-2.x86_64.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-3.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-3.x86_64.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-4.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-4.x86_64.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-5.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets-invalid-5.x86_64.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-macho.o
  test/DebugInfo/Inputs/dwarfdump-str-offsets-macho.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets.s
  test/DebugInfo/Inputs/dwarfdump-str-offsets.x86_64.o
  test/DebugInfo/X86/dwarfdump-str-offsets-dwp.s
  test/DebugInfo/X86/dwarfdump-str-offsets-invalid-1.s
  test/DebugInfo/X86/dwarfdump-str-offsets-invalid-2.s
  test/DebugInfo/X86/dwarfdump-str-offsets-invalid-3.s
  test/DebugInfo/X86/dwarfdump-str-offsets-invalid-4.s
  test/DebugInfo/X86/dwarfdump-str-offsets-invalid-5.s
  test/DebugInfo/X86/dwarfdump-str-offsets-macho.s
  test/DebugInfo/X86/dwarfdump-str-offsets.s
  test/DebugInfo/dwarfdump-str-offsets-dwp.test
  test/DebugInfo/dwarfdump-str-offsets-invalid.test
  test/DebugInfo/dwarfdump-str-offsets.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40914.125776.patch
Type: text/x-patch
Size: 100760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/b7d636a5/attachment.bin>


More information about the llvm-commits mailing list