History log of /external/llvm/include/llvm/Object/ELF.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5adb136be579e8fff3734461580cb34d1d2983b8 06-Mar-2013 Stephen Hines <srhines@google.com> Merge commit 'b3201c5cf1e183d840f7c99ff779d57f1549d8e5' into merge_20130226

Conflicts:
include/llvm/Support/ELF.h
lib/Support/DeltaAlgorithm.cpp

Change-Id: I24a4fbce62eb39d924efee3c687b55e1e17b30cd
d326d05fb9c794e93fc7fc0601028f196600f7e2 20-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [llvm-readobj] Add ELF .dynamic table dumping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
06121de923cb7e8e2ea3cf527f281d9e7825e518 14-Feb-2013 Dmitry Vyukov <dvyukov@google.com> include/llvm/Object/ELF.h: do debug checks only when NDEBUG
validateSymbol() is called all over the place, and it seems it's a debug check.
It significantly speedups llvm-symbolizer used in tsan/asan/msan. validateSymbol() is the second hot function and accounts for 15% of runtime.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
d1824f2f46adbf4d64acc647aaff9956bef88d54 08-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Add a way to get the dynamic symbol table section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
2e0742f76c6081b24eb64b3967c3d7903007dcbd 08-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Add {begin,end}_elf_dynamic_symbols to non-virtually iterate over dynamic symbols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
def0c1f756562601829364e3fca4bd1f0407316e 07-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Fix crash on no dynamic section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174639 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
727de1e7565108158f5829d872dd2f6d7110532f 07-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> 80-col

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
49db4691cfdf4ab5119ab3dcaa1250c16e671ab0 07-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Do the actual devirtualization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
945bc5bde022c790722ca1d05304bb0c986890db 07-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Devirtualize and simplify dynamic table iteration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
72062f5744557e270a38192554c3126ea5f97434 31-Jan-2013 Tim Northover <Tim.Northover@arm.com> Add AArch64 as an experimental target.

This patch adds support for AArch64 (ARM's 64-bit architecture) to
LLVM in the "experimental" category. Currently, it won't be built
unless requested explicitly.

This initial commit should have support for:
+ Assembly of all scalar (i.e. non-NEON, non-Crypto) instructions
(except the late addition CRC instructions).
+ CodeGen features required for C++03 and C99.
+ Compilation for the "small" memory model: code+static data <
4GB.
+ Absolute and position-independent code.
+ GNU-style (i.e. "__thread") TLS.
+ Debugging information.

The principal omission, currently, is performance tuning.

This patch excludes the NEON support also reviewed due to an outbreak of
batshit insanity in our legal department. That will be committed soon bringing
the changes to precisely what has been approved.

Further reviews would be gratefully received.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
3802947dec01dcf95d1b4b6545e88e549744e2b1 26-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com> Object/RelocVisitor: Add minimal support, R_MIPS_32, for mips.

It fixes llvm-dwarfdump for mips and mipsel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
059800f9e3fee2852672f846d91a2da14da7783a 21-Jan-2013 Stephen Hines <srhines@google.com> Merge remote-tracking branch 'upstream/master' into merge-llvm

Conflicts:
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
lib/MC/MCAssembler.cpp
lib/Support/Atomic.cpp
lib/Support/Memory.cpp
lib/Target/ARM/ARMJITInfo.cpp

Change-Id: Ib339baf88df5b04870c8df1bedcfe1f877ccab8d
77c27f439443c2a7f56fc707fc9ceb0d10f085ae 21-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> Revert "[Object] .bss sections have no content. PR15005."

This reverts commit r173007.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
07d5617ca88fdc20f4acbaf0d302eeca959ff1b8 21-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object] .bss sections have no content. PR15005.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
6fff325fb600fdaa269858c638d50dbe374d1937 19-Jan-2013 Andrew Kaylor <andrew.kaylor@intel.com> Fixing behavior of ELFObjectFile::getSymbolFileOffset().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
6623730296fbe6d639058195772566ffa10e9ad2 16-Jan-2013 Dmitri Gribenko <gribozavr@gmail.com> Improve r172577 by using the correct type when declaring constants


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
af50dda4102114b23ac7d8c2db4703f22e02f02c 16-Jan-2013 David Greene <greened@obbligato.org> Avoid Enum Compare Warnings

Avoid a compiler warning about comparing disjoint enums but casting
them to int first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
34461e554ac359cee140434a01facefd25f720f1 15-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Fix -Wenum-compare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172556 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
ac97f5ce486d1ca2967607028eacddd860aaddd0 15-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Simplify ELFObjectFile by using ELFType.

This simplifies the usage and implementation of ELFObjectFile by using ELFType
to replace:

<endianness target_endianness, std::size_t max_alignment, bool is64Bits>

This does complicate the base ELF types as they must now use template template
parameters to partially specialize for the 32 and 64bit cases. However these
are only defined once.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172515 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
0b740236b71f0f3811421885c04cc43130f88bef 08-Jan-2013 Tim Northover <Tim.Northover@arm.com> Allow ELF64 relocation type to be more than 8 bits.

Current targets don't have more than 256 relocations so they don't hit this
limit, but ELF64 actually allows more than 8 bits for a relocation type. These
were being truncated on AArch64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
95abfbe8e9567e08188ada7d29f589f08e539bd6 06-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Fix incorrect size of members for the 64 version of Elf_Phdr_Impl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
3e5d8ade393d347a1483bf39d48ffebe9541b2b0 06-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Add program header iterator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
fe23da794930e01701ee1ee4fdb2b91db59c2be5 06-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Refactor ELFRelocationIterator into ELFEntityIterator. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
22f3b40d0bd18f2ad092398d18195c20ceeb1bef 05-Jan-2013 Eric Christopher <echristo@gmail.com> Make this an integer so we have enumeral types in the conditional
expression.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
4d9c5397b4a3be747bdb73f1d24c3fdbaaf438fe 04-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object][ELF] Add a maximum alignment. This is used by createELFObjectFile to create a properly aligned reader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
5b712efd9a4d29119ce136d46a23454bdc103f68 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Fix bits check in ELFObjectFile::isSectionZeroInit().

Fixes PR14723.

Patch by Sami Liedes!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
255f89faee13dc491cb64fbeae3c763e7e2ea4e6 03-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for the include/... tree with the script.

AKA: Recompile *ALL* the source code!

This one went much better. No manual edits here. I spot-checked for
silliness and grep-checked for really broken edits and everything seemed
good. It all still compiles. Yell if you see something that looks goofy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
f7414823871c7707a6af61c19e5f9ce3a4fa861c 13-Nov-2012 Shankar Easwaran <shankare@codeaurora.org> Adding convenience function to ELF Header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
a41dce3c642e50775352cce49e3a3d0cd004d393 29-Oct-2012 Tim Northover <Tim.Northover@arm.com> Add interface for querying object files for symbol values.

Currently only implemented for ELF.

Patch by Amara Emerson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
ed84062812c7b8a82d0e8128a22aa1aa07a14d79 12-Oct-2012 Sean Silva <silvas@purdue.edu> Remove unnecessary classof()'s

isa<> et al. automatically infer when the cast is an upcast (including a
self-cast), so these are no longer necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
3a129c85920404e7ccdb7e655c89fa60a0309cfd 10-Oct-2012 Andrew Kaylor <andrew.kaylor@intel.com> This patch adds new functions to the SectionRef and ObjectFile interfaces to determine whether or not a section is meant to be read-only. These functions will be used by the MCJIT RuntimeDyld to give hints to the memory manager during the object loading process in a future patch.

Patch by Ashok Thirumurthi.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
a06fd990543c82c4cc735354914ae4be64eb83d6 05-Oct-2012 Hemant Kulkarni <khemant@codeaurora.org> Add ELF program header.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
a5e01b1314b48c364c092288c2aef95c29a79583 05-Oct-2012 Adhemerval Zanella <azanella@linux.vnet.ibm.com> Add PowerPC64 definitions for ELF.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
01fa41a106ed0ff86c3b9ffe0843679211bf487c 21-Sep-2012 Alexey Samsonov <samsonov@google.com> Fix SymbolRef::getAddress implementation for ELF. The 'value' field in symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
419e5b9d4f8bd0e0724b7b2c2d8df0f534bc8d8d 18-Sep-2012 Richard Smith <richard-llvm@metafoo.co.uk> Remove redundant semicolons to fix -pedantic-errors build break with older Clangs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
9b7ca410621f6988b2d4203b90058dd4252848a8 17-Sep-2012 Sid Manning <sidneym@codeaurora.org> Add Michael Spencer's iterator class for stepping through relocations. Add method that, given a symbol index, will return the symbol's data.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
1c4ad5ef4fab105f0c8af7edd026e00502fb6279 11-Sep-2012 Stephen Hines <srhines@google.com> Merge branch 'upstream' into merge-2012_09_10

Conflicts:
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
lib/Support/DynamicLibrary.cpp
lib/Support/LockFileManager.cpp

Change-Id: I91e94c3a7a76e19c688307c5a480a640a3bd2b7e
2c38a6615a693d0a43159825da2358126473502b 10-Sep-2012 Michael J. Spencer <bigcheesegs@gmail.com> [Object] Extract Elf_Ehdr. Patch by Hemant Kulkarni!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163532 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
033d182589aa46719a47f38fc7021e41aa5b6d43 06-Sep-2012 Nick Lewycky <nicholas@mxc.ca> Teach libObject about some more ELF relocations. llvm-objdump -r now knows
every relocation in C++ hello world built with debug info.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
4b6fbf25600a94dc41ba96b174045e50b85862cf 01-Sep-2012 Logan Chien <tzuhsiang.chien@gmail.com> Add ARM ELF support to llvm-objdump.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
31675153bd2d7617db8cb6aeb58054934c7b9f73 24-Aug-2012 Stephen Hines <srhines@google.com> Merge branch 'upstream' into merge_2

Conflicts:
lib/Target/ARM/ARMCodeEmitter.cpp

Change-Id: I6702d340c733e9721499b5d85b13b96ad9c14eb5
b889e0cd2fea4afee623d5be603b912b955a2eca 17-Aug-2012 Akira Hatanaka <ahatanaka@mips.com> Correct MCJIT functionality for MIPS32 architecture.

No new tests are added.
All tests in ExecutionEngine/MCJIT that have been failing pass after this patch
is applied (when "make check" is done on a mips board).

Patch by Petar Jovanovic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
05b2bc8781d9af403a257599613e12cb8fef19e8 16-Aug-2012 Roman Divacky <rdivacky@freebsd.org> Revert r162034, r162035 and r162037.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
745d94d29fec3df001a08062644e68052ac14618 16-Aug-2012 Roman Divacky <rdivacky@freebsd.org> Handle PowerPC.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
7744acd1ab73b3eec6f1449f47083abe3fb1b527 03-Aug-2012 Shih-wei Liao <sliao@google.com> Merge with LLVM upstream r160668 (Jul 24th 2012)

Conflicts:
include/llvm/Support/ELF.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Support/Memory.cpp
lib/Transforms/Instrumentation/AddressSanitizer.cpp

Change-Id: Iddd658cf2eadc7165b2805b446d31af2c5c9917f
9669f749764997ab7033d5c4b0546fe739dd71d8 24-Jul-2012 Michael J. Spencer <bigcheesegs@gmail.com> [Object] Remove unneeded const_cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
9dc5b3e6c423733d5d7d553521b48ea30518f37c 24-Jul-2012 Anshuman Dasgupta <adasgupt@codeaurora.org> Add new interfaces to support ldd's ReaderElf.cpp.

Patch by Sid Manning!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
50b4c52633b0c933aabcd0741d1dae751ba339dd 23-Jun-2012 Marshall Clow <mclow@qualcomm.com> Add relocation types for Hexagon processor; patch by Sidney Manning <sidneym@codeaurora.org>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
d9b0b025612992a0b724eeca8bdf10b1d7a5c355 02-Jun-2012 Benjamin Kramer <benny.kra@googlemail.com> Fix typos found by http://github.com/lyda/misspell-check

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
7c101d874ef1ef2053c6f61d87680006fdd1a32d 07-May-2012 Andrew Hsieh <andrewhsieh@google.com> Merge "Add libLLVMObject to read executable file."
ca8b2c655eb4d283187cbbb4f0f3acd34f60fa1c 20-Apr-2012 Logan Chien <loganchien@google.com> Add libLLVMObject to read executable file.

Change-Id: I9ce8742d12fd3d9c57cec182e76c7385d3f0e3bc
/external/llvm/include/llvm/Object/ELF.h
689ff9c00f4f3dcf3491778bcdbda79e19e2285d 17-Apr-2012 Preston Gurd <preston.gurd@intel.com> Implement GDB integration for source level debugging of code JITed using
the MCJIT execution engine.

The GDB JIT debugging integration support works by registering a loaded
object image with a pre-defined function that GDB will monitor if GDB
is attached. GDB integration support is implemented for ELF only at this
time. This integration requires GDB version 7.0 or newer.

Patch by Andy Kaylor!




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
bdc3adc6c10378e16035467aae866eead51f1d54 13-Apr-2012 Craig Topper <craig.topper@gmail.com> Remove getElfArchType from ELF.h. It's only used in ELFObjectFile.cpp and there's already a copy there. ELF.h was hiding the one there and causing an unused function warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
c68dda815e64fb2fb463318d1eaa304e22199d50 12-Apr-2012 Preston Gurd <preston.gurd@intel.com> This patch improves the MCJIT runtime dynamic loader by adding new handling
of zero-initialized sections, virtual sections and common symbols
and preventing the loading of sections which are not required for
execution such as debug information.

Patch by Andy Kaylor!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
3fd9b8422328a60664a5c631ec9519b58017fcbc 10-Apr-2012 Danil Malyshev <dmalyshev@accesssoftek.com> Add a constructor for DataRefImpl and remove excess initialization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
2d70e263c2b508bf4641273dd89a23149f6f6164 09-Mar-2012 David Meyer <pdox@google.com> Support reading GNU symbol versions in ELFObjectFile

* Add enums and structures for GNU version information.
* Implement extraction of that information on a per-symbol basis (ELFObjectFile::getSymbolVersion).
* Implement a generic interface, GetELFSymbolVersion(), for getting the symbol version from the ObjectFile (hides the templating).
* Have llvm-readobj print out the version, when available.
* Add a test for the new feature: readobj-elf-versioning.test



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
6f9489a86f33624f9ff5388411d12359ce9cef20 09-Mar-2012 David Meyer <pdox@google.com> [Object]
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb 01-Mar-2012 David Meyer <pdox@google.com> [Object]
Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
5c2b4ea73c8f48bb5f96c86fe437385b8fb3dcda 01-Mar-2012 David Meyer <pdox@google.com> [Object]
* Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile.
* Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable.
* Implement this new interface completely for ELF, leave stubs for COFF and MachO.
* Add 'llvm-readobj' tool for dumping ObjectFile information.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
2c67727046234ad9702ab5acb72700b5ac99a676 29-Feb-2012 David Meyer <pdox@google.com> [Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF.
Rename ST_External to ST_Unknown, and slightly change its semantics. It now only indicates that the symbol's type
is unknown, not that the symbol is undefined. (For that, use ST_Undefined).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
c46255a32ec92c427e621b6d7eabd887962ce4a4 29-Feb-2012 David Meyer <pdox@google.com> In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
dfa1896b6b61e708f002b814794890ff308172ee 28-Feb-2012 Michael J. Spencer <bigcheesegs@gmail.com> [Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF.
Add -D option to llvm-nm to dump dynamic symbols.

Patch by David Meyer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
284a6bbae148e1b5a2696f13526bb8f64da62177 27-Feb-2012 Michael J. Spencer <bigcheesegs@gmail.com> Remove duplicate copy of Object/ELF.h that somehow managed to get in.

Patch by David Meyer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151575 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h
f4eff4baeb44f9dee988e9293d029dcaa359420d 12-Feb-2012 Eli Bendersky <eli.bendersky@intel.com> Expose the ELFObjectFile class directly in the Object/ELF.h header, similarly
to what's done for MachO and COFF. This allows advanced uses of the class to
be implemented outside the Object library. In particular, the DyldELFObject
subclass is now moved into its logical home - ExecutionEngine/RuntimeDyld.

This patch was reviewed by Michael Spencer.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150327 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/ELF.h