forked from OSchip/llvm-project
Fixed a typo from my previous "Added support for LC_LOAD_UPWARD_DYLIB in mach-o files".
llvm-svn: 116132
This commit is contained in:
parent
748265b0da
commit
74f6e9f523
|
@ -1403,7 +1403,7 @@ ObjectFileMachO::GetDependentModules (FileSpecList& files)
|
||||||
case LoadCommandDylibReexport:
|
case LoadCommandDylibReexport:
|
||||||
case LoadCommandDynamicLinkerLoad:
|
case LoadCommandDynamicLinkerLoad:
|
||||||
case LoadCommandFixedVMShlibLoad:
|
case LoadCommandFixedVMShlibLoad:
|
||||||
case LoadCommandDylibLoadUpward;
|
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