Skip to content

[TextAPI] Add support to convert RecordSlices -> InterfaceFile #75007

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

cyndyishida
Copy link
Member

@cyndyishida cyndyishida commented Dec 10, 2023

Introduce RecordVisitor. This is used for different clients that want to extract information out of RecordSlice types.
The first and immediate use case is for serializing symbol information into TBD files.

Base automatically changed from users/cyndyishida/TAPIStubifyp1 to main December 13, 2023 03:50
@cyndyishida cyndyishida force-pushed the users/cyndyishida/TAPIStubifyp2 branch from d110ce3 to 0512593 Compare December 19, 2023 16:39
Introduce RecordVisitor. This is used for different clients that want to
extract information out of RecordSlice types.
The first and immediate usecase is for serializing symbol information
into TBD files.
@cyndyishida cyndyishida force-pushed the users/cyndyishida/TAPIStubifyp2 branch from 0512593 to 87feac6 Compare December 19, 2023 16:45
@@ -14,6 +14,7 @@
#ifndef LLVM_TEXTAPI_RECORD_H
#define LLVM_TEXTAPI_RECORD_H

#include "llvm/ADT/MapVector.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this include needed in the header file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was transitively included before in RecordSlice.h but is actually used in this file, so I moved it.

@cyndyishida cyndyishida merged commit 5ea15fa into main Dec 20, 2023
@cyndyishida cyndyishida deleted the users/cyndyishida/TAPIStubifyp2 branch December 20, 2023 16:47
cyndyishida added a commit to cyndyishida/llvm-project that referenced this pull request Jan 4, 2024
…75007)

Introduce RecordVisitor. This is used for different clients that want to
extract information out of RecordSlice types.
The first and immediate use case is for serializing symbol information
into TBD files.

(cherry picked from commit 5ea15fa)
cyndyishida added a commit to swiftlang/llvm-project that referenced this pull request Jan 5, 2024
…75007)

Introduce RecordVisitor. This is used for different clients that want to
extract information out of RecordSlice types.
The first and immediate use case is for serializing symbol information
into TBD files.

(cherry picked from commit 5ea15fa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants