summaryrefslogtreecommitdiff
path: root/test/Object/obj2yaml-coff-long-file-symbol.test
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-03-20 06:29:02 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-03-20 06:29:02 +0000
commitd9a0abcf8fbadffd8b79c2117dd358d1bfd38c78 (patch)
tree7f318a16b7b7440daf0bde8784f163c8e5c62eb7 /test/Object/obj2yaml-coff-long-file-symbol.test
parentb000c172ed6f23fad76d2e96dd16ff0e0bc799ae (diff)
downloadllvm-d9a0abcf8fbadffd8b79c2117dd358d1bfd38c78.tar.gz
llvm-d9a0abcf8fbadffd8b79c2117dd358d1bfd38c78.tar.bz2
llvm-d9a0abcf8fbadffd8b79c2117dd358d1bfd38c78.tar.xz
Object: Output .file symbols properly
obj2yaml would emit the NUL bytes padding the auxiliary file symbol records. Trimming them looks nicer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/obj2yaml-coff-long-file-symbol.test')
-rw-r--r--test/Object/obj2yaml-coff-long-file-symbol.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Object/obj2yaml-coff-long-file-symbol.test b/test/Object/obj2yaml-coff-long-file-symbol.test
new file mode 100644
index 0000000000..3a4d380bd8
--- /dev/null
+++ b/test/Object/obj2yaml-coff-long-file-symbol.test
@@ -0,0 +1,3 @@
+RUN: yaml2obj %p/Inputs/COFF/long-file-symbol.yaml | obj2yaml | FileCheck %s --check-prefix COFF-I386
+
+COFF-I386: File: filename_with_22_chars