]> granicus.if.org Git - llvm/commit
[TextAPI] Fix & Add tests for tbd files version 3.
authorJuergen Ributzka <juergen@ributzka.de>
Mon, 12 Aug 2019 23:01:07 +0000 (23:01 +0000)
committerJuergen Ributzka <juergen@ributzka.de>
Mon, 12 Aug 2019 23:01:07 +0000 (23:01 +0000)
commit95e7e916d4ac7faac060236e297d2c7bdad32dc3
tree98e08133600ff00a6a002d36908443463c38ed35
parentcf1063f8cbfc59b7f2ee615b565acd0d15781474
[TextAPI] Fix & Add tests for tbd files version 3.

- There was a simple typo in TextStub code that prevented version 3 files to be read.
- Included a version 3 unit test to handle the differences in the format.
- Also a typo in Error.h inside the comments.

https://reviews.llvm.org/D66041

This patch is from Cyndy Ishida <cyndy_ishida@apple.com>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368630 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Error.h
lib/TextAPI/MachO/TextStub.cpp
unittests/TextAPI/CMakeLists.txt
unittests/TextAPI/TextStubV3Tests.cpp [new file with mode: 0644]