mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-02 22:00:04 +00:00
[ObjectFileMachO] Fix a build error on embedded.
This commit is contained in:
parent
65f99b5383
commit
34ee941f6d
@ -3506,8 +3506,8 @@ size_t ObjectFileMachO::ParseSymtab() {
|
||||
N_FUN_addr_to_sym_idx.equal_range(nlist.n_value);
|
||||
if (range.first != range.second) {
|
||||
bool found_it = false;
|
||||
for (const auto pos = range.first;
|
||||
pos != range.second; ++pos) {
|
||||
for (auto pos = range.first; pos != range.second;
|
||||
++pos) {
|
||||
if (sym[sym_idx].GetMangled().GetName(
|
||||
lldb::eLanguageTypeUnknown,
|
||||
Mangled::ePreferMangled) ==
|
||||
@ -3551,8 +3551,8 @@ size_t ObjectFileMachO::ParseSymtab() {
|
||||
nlist.n_value);
|
||||
if (range.first != range.second) {
|
||||
bool found_it = false;
|
||||
for (const auto pos = range.first;
|
||||
pos != range.second; ++pos) {
|
||||
for (auto pos = range.first; pos != range.second;
|
||||
++pos) {
|
||||
if (sym[sym_idx].GetMangled().GetName(
|
||||
lldb::eLanguageTypeUnknown,
|
||||
Mangled::ePreferMangled) ==
|
||||
|
Loading…
Reference in New Issue
Block a user