diff options
author | Greg Clayton <gclayton@apple.com> | 2014-12-16 01:33:17 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-12-16 01:33:17 +0000 |
commit | a2162b316679aaf5e00661a5cca8c2dd2deef94f (patch) | |
tree | d4fd17ad8c1723b3c160426c5b1e3ccf23304e5c /llvm/lib/Object/Archive.cpp | |
parent | bba821b5b143625eaad566ed524d5b40ed732ba9 (diff) | |
download | bcm5719-llvm-a2162b316679aaf5e00661a5cca8c2dd2deef94f.tar.gz bcm5719-llvm-a2162b316679aaf5e00661a5cca8c2dd2deef94f.zip |
If a binary was stripped we sometimes didn't show the ivars of an Objective C class correctly. Now we do as we consult the runtime data for the class so we don't have to have a symbol in the symbol table.
Fixed:
1 - try the symbol table symbol for an ObjC ivar and use it if available
2 - fall back to using the runtime data since it is slower to gather via memory read
3 - Fixed our hidden ivars test case to test this to ensure we don't regress
4 - split out a test case in the hidden ivars to cover only the part that was failing so we don't have an expected failure for all of the other content in the test.
<rdar://problem/18882687>
llvm-svn: 224306
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions