mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
fd46376e35
Summary: This completes the needed glueing to support reading tbd files from nm. This includes specifying which slice filtering with `--arch` and a new option specifically for tbd files `--add-inlinedinfo` which will show the reexported libraries that are appended in the tbd file. Reviewers: ributzka, steven_wu, JDevlieghere, jhenderson Reviewed By: JDevlieghere Subscribers: hiraditya, MaskRay, dexonsmith, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81614
21 lines
690 B
Plaintext
21 lines
690 B
Plaintext
RUN: not llvm-nm %p/Inputs/tapi-invalid-v1.tbd 2>&1\
|
|
RUN: | FileCheck %s -check-prefix V1
|
|
|
|
RUN: not llvm-nm %p/Inputs/tapi-invalid-v2.tbd 2>&1\
|
|
RUN: | FileCheck %s -check-prefix V2
|
|
|
|
RUN: not llvm-nm %p/Inputs/tapi-invalid-v3.tbd 2>&1\
|
|
RUN: | FileCheck %s -check-prefix V3
|
|
|
|
# Typo Check
|
|
V1: tapi-invalid-v1.tbd malformed file
|
|
V1-NEXT: tapi-invalid-v1.tbd:12:2: error: unknown key 'expors'
|
|
|
|
# Missing required key
|
|
V2: tapi-invalid-v2.tbd malformed file
|
|
V2-NEXT: tapi-invalid-v2.tbd:2:1: error: missing required key 'archs'
|
|
|
|
# v2 key in v3 specified file
|
|
V3: tapi-invalid-v3.tbd malformed file
|
|
V3-NEXT: tapi-invalid-v3.tbd:19:16: error: unknown key 'swift-version'
|