This is an archive of the discontinued LLVM Phabricator instance.

[llvm][TextAPI/MachO] Emit swift ABI version as an un integer in TBD_V4
AbandonedPublic

Authored by JDevlieghere on Jan 23 2020, 11:52 PM.

Details

Reviewers
cishida
Summary

TBD_V4 requires the swift ABI version to be an integer, however we were unconditionally emitting it as a float for versions 4 and below.

Diff Detail

Repository
rLLDB LLDB

Event Timeline

JDevlieghere created this revision.Jan 23 2020, 11:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 23 2020, 11:52 PM

Unit tests: fail. 62152 tests passed, 5 failed and 811 were skipped.

failed: libc++.std/language_support/cmp/cmp_partialord/partialord.pass.cpp
failed: libc++.std/language_support/cmp/cmp_strongeq/cmp.strongeq.pass.cpp
failed: libc++.std/language_support/cmp/cmp_strongord/strongord.pass.cpp
failed: libc++.std/language_support/cmp/cmp_weakeq/cmp.weakeq.pass.cpp
failed: libc++.std/language_support/cmp/cmp_weakord/weakord.pass.cpp

clang-tidy: fail. clang-tidy found 0 errors and 2 warnings. 0 of them are added as review comments below (why?).

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

JDevlieghere abandoned this revision.Mar 2 2020, 10:32 PM

Talked to Cyndy offline and this is not the right solution.