diff options
author | Davide Italiano <ditaliano@apple.com> | 2019-11-12 11:10:36 -0800 |
---|---|---|
committer | Davide Italiano <ditaliano@apple.com> | 2019-11-12 11:10:36 -0800 |
commit | 96915495f9fcbd47bf3f893200e3f5a8e30d0d9e (patch) | |
tree | 34a07062be31166b992697e435c791961281bc39 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | 1549b4699a84838c3969590dc4f757b72f39f40d (diff) | |
download | bcm5719-llvm-96915495f9fcbd47bf3f893200e3f5a8e30d0d9e.tar.gz bcm5719-llvm-96915495f9fcbd47bf3f893200e3f5a8e30d0d9e.zip |
[ObjectFileMachO] Fix the build for __arm64__.
Catch up with an API change.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index d82a1addd33..aff1d1e87bb 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -2538,8 +2538,7 @@ size_t ObjectFileMachO::ParseSymtab() { // Next we need to determine the correct path for the dyld shared cache. - ArchSpec header_arch; - GetArchitecture(header_arch); + ArchSpec header_arch = GetArchitecture(); char dsc_path[PATH_MAX]; char dsc_path_development[PATH_MAX]; |