mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #68843 from augusto2112/keep-funcs-for-deb-tests
Keep certain function that are potentially used in the debugger
This commit is contained in:
@@ -855,6 +855,10 @@ public:
|
||||
/// current SILModule.
|
||||
bool isPossiblyUsedExternally() const;
|
||||
|
||||
/// Helper method which returns whether this function should be preserved so
|
||||
/// it can potentially be used in the debugger.
|
||||
bool shouldBePreservedForDebugger() const;
|
||||
|
||||
/// In addition to isPossiblyUsedExternally() it returns also true if this
|
||||
/// is a (private or internal) vtable method which can be referenced by
|
||||
/// vtables of derived classes outside the compilation unit.
|
||||
|
||||
Reference in New Issue
Block a user