diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-13 03:11:08 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-13 03:11:08 +0000 |
commit | b77944d5ff1cead1d247e73ccfc86fa1b5f9e3f2 (patch) | |
tree | 53d40abae26f29417f5ba93f94b09af506a79cbd /test/tools/llvm-objdump/coff-file.test | |
parent | f4c3a5601aefe2e6500ff4af394196da55203e52 (diff) | |
download | llvm-b77944d5ff1cead1d247e73ccfc86fa1b5f9e3f2.tar.gz llvm-b77944d5ff1cead1d247e73ccfc86fa1b5f9e3f2.tar.bz2 llvm-b77944d5ff1cead1d247e73ccfc86fa1b5f9e3f2.tar.xz |
tools: teach objdump about FILE aux records
Add support for file auxiliary symbol entries in COFF symbol tables. A COFF
symbol table with a FILE entry is followed by sizeof(__FILE__) / 18 auxiliary
symbol records which contain the filename. Read them and form the original
filename that the record contains. Then display the name in the output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-objdump/coff-file.test')
-rw-r--r-- | test/tools/llvm-objdump/coff-file.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/coff-file.test b/test/tools/llvm-objdump/coff-file.test new file mode 100644 index 0000000000..ba345b4d42 --- /dev/null +++ b/test/tools/llvm-objdump/coff-file.test @@ -0,0 +1,5 @@ +RUN: llvm-objdump -t %p/Inputs/file.obj.coff-arm | FileCheck %s + +CHECK: .file +CHECK-NEXT: AUX /Users/compnerd/work/llvm/test/tools/llvm-readobj/Inputs/file.asm + |