Object: Provide a richer means of describing auxiliary symbols
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 19 Mar 2014 04:47:47 +0000 (04:47 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 19 Mar 2014 04:47:47 +0000 (04:47 +0000)
commit6d191534f63b0ece222e2d6e418144b123c81c0c
tree72a8ca1b42f1f5c47cdeff5a5593c7b2ffcc8d58
parent92c5a193e0d17f4b70f507ff976aac6a44962041
Object: Provide a richer means of describing auxiliary symbols

The current state of affairs has auxiliary symbols described as a big
bag of bytes. This is less than satisfying, it detracts from the YAML
file as being human readable.

Instead, allow for symbols to optionally contain their auxiliary data.
This allows us to have a much higher level way of describing things like
weak symbols, function definitions and section definitions.

This depends on D3105.

Differential Revision: http://llvm-reviews.chandlerc.com/D3092

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204214 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/Object/COFF.h
include/llvm/Object/COFFYAML.h
include/llvm/Support/COFF.h
include/llvm/Support/YAMLTraits.h
lib/Object/COFFObjectFile.cpp
lib/Object/COFFYAML.cpp
test/Object/Inputs/COFF/i386.yaml
test/Object/Inputs/COFF/x86-64.yaml
test/Object/obj2yaml.test
tools/llvm-nm/llvm-nm.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-readobj/COFFDumper.cpp
tools/obj2yaml/coff2yaml.cpp
tools/yaml2obj/yaml2coff.cpp