forked from OSchip/llvm-project
Added support for LC_LOAD_UPWARD_DYLIB in mach-o files.
llvm-svn: 116128
This commit is contained in:
parent
701edc1546
commit
f9f78e3aae
|
@ -1403,6 +1403,7 @@ ObjectFileMachO::GetDependentModules (FileSpecList& files)
|
||||||
case LoadCommandDylibReexport:
|
case LoadCommandDylibReexport:
|
||||||
case LoadCommandDynamicLinkerLoad:
|
case LoadCommandDynamicLinkerLoad:
|
||||||
case LoadCommandFixedVMShlibLoad:
|
case LoadCommandFixedVMShlibLoad:
|
||||||
|
case LoadCommandDylibLoadUpward;
|
||||||
{
|
{
|
||||||
uint32_t name_offset = cmd_offset + m_data.GetU32(&offset);
|
uint32_t name_offset = cmd_offset + m_data.GetU32(&offset);
|
||||||
const char *path = m_data.PeekCStr(name_offset);
|
const char *path = m_data.PeekCStr(name_offset);
|
||||||
|
|
Loading…
Reference in New Issue