summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/coff-weak-externals.test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-05-25 01:59:32 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-05-25 01:59:32 +0000
commite7e467aaa985d345ab6d9c40e7726501b49a6899 (patch)
tree850113a98e50f88e1400fee0899e720d01e2ca4e /llvm/test/Object/coff-weak-externals.test
parent655a145e83aa678d1e0b492820a55d574be46b19 (diff)
downloadbcm5719-llvm-e7e467aaa985d345ab6d9c40e7726501b49a6899.tar.gz
bcm5719-llvm-e7e467aaa985d345ab6d9c40e7726501b49a6899.zip
llvm-objdump: support dumping AUX records for weak externals
This is a support COFF feature. Ensure that we can display the weak externals auxiliary symbol. It contains useful information (such as the default binding and how to resolve the symbol). llvm-svn: 270648
Diffstat (limited to 'llvm/test/Object/coff-weak-externals.test')
-rw-r--r--llvm/test/Object/coff-weak-externals.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Object/coff-weak-externals.test b/llvm/test/Object/coff-weak-externals.test
new file mode 100644
index 00000000000..b7a0980ff72
--- /dev/null
+++ b/llvm/test/Object/coff-weak-externals.test
@@ -0,0 +1,5 @@
+RUN: yaml2obj %p/Inputs/COFF/weak-externals.yaml | llvm-objdump -t - | FileCheck %s
+
+CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 Function
+CHECK: AUX tagndx 9 type 2
+
OpenPOWER on IntegriCloud