Skip to content

Commit

Permalink
Disable problematic check
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzijian629 committed Jul 19, 2023
1 parent f7ea7ea commit 387d5cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion version_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ void VersionBuilder::Add(Elf_Versym versym, const std::string& soname, const std
}

if (is_special_ver_ndx(versym)) {
CHECK(soname.empty() && version.empty()) << " excess soname or version information is given.";
// TODO(joe): Consider again whether we should allow this.
// Currently, this check may fail when a symbol with nonempty soname and version is resolved by
// fallback on another symbol where is_special_ver_ndx(versym) == true in SymtabBuilder::Resolve.
// CHECK(soname.empty() && version.empty()) << " excess soname or version information is given.";
LOG(INFO) << "VersionBuilder::" << special_ver_ndx_to_str(versym);

vers.push_back(versym);
Expand Down

0 comments on commit 387d5cd

Please sign in to comment.