diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-09-21 07:08:08 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-09-21 07:08:08 +0000 |
commit | ad1191fbb68faa69b43c2b6b5aa7d6cefc6f7c6b (patch) | |
tree | 952c087c614af3f8187edd847822a65175b7a3af /clang/lib/Sema/SemaDecl.cpp | |
parent | e460a4ea2d5923f7d1a2ea282f64c4fbb5abf45c (diff) | |
download | bcm5719-llvm-ad1191fbb68faa69b43c2b6b5aa7d6cefc6f7c6b.tar.gz bcm5719-llvm-ad1191fbb68faa69b43c2b6b5aa7d6cefc6f7c6b.zip |
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.
llvm-svn: 164365
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions