llvm-project/llvm/lib/Object
Rafael Espindola b4865d698b Revert "Fix a nomenclature error in llvm-nm."
This reverts commit r205479.

It turns out that nm does use addresses, it is just that every reasonable
relocatable ELF object has sections with address 0. I have no idea if those
exist in reality, but it at least it shows that llvm-nm should use the name
address.

The added test was includes an unusual .o file with non 0 section addresses. I
created it by hacking ELFObjectWriter.cpp.

Really sorry for the churn.

llvm-svn: 205493
2014-04-03 00:19:35 +00:00
..
Archive.cpp [C++11] Add overloads for externally used OwningPtr functions. 2014-03-05 10:27:34 +00:00
Binary.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
CMakeLists.txt Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
COFFObjectFile.cpp Revert "Fix a nomenclature error in llvm-nm." 2014-04-03 00:19:35 +00:00
COFFYAML.cpp Object: Provide a richer means of describing auxiliary symbols 2014-03-19 04:47:47 +00:00
ELF.cpp [Sparc] Add support for sparc relocation types in ELF object file. 2014-01-26 03:21:28 +00:00
ELFObjectFile.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
ELFYAML.cpp [yaml2obj] Add support for ELF e_flags. 2014-03-31 09:44:05 +00:00
Error.cpp Support: Make error_category's constructor public 2014-03-15 04:05:59 +00:00
IRObjectFile.cpp Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
LLVMBuild.txt Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
MachOObjectFile.cpp Revert "Fix a nomenclature error in llvm-nm." 2014-04-03 00:19:35 +00:00
MachOUniversal.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
Makefile
Object.cpp Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
ObjectFile.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
SymbolicFile.cpp Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
YAML.cpp Object: Don't double-escape empty hexdata 2014-03-20 06:28:52 +00:00