LLVM OpenMP 22.0.0git
extractExternal.cpp File Reference
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include <stdlib.h>
#include <string>
#include <strstream>

Go to the source code of this file.

Classes

class  Symbol
class  _rstream
class  rstream
class  StringTable

Functions

void stop (char *errorMsg)
void computeExternalSymbols (const char *fileName, set< string > *defined, set< string > *undefined)
void hideSymbols (char *fileName, const set< string > &hide)
template<class T>
bool isDisjoint (const set< T > &a, const set< T > &b)
set< int > * findRequiredExternal (int nExternal, int nTotal, set< string > *defined, set< string > *undefined)
int main (int argc, char **argv)

Function Documentation

◆ computeExternalSymbols()

void computeExternalSymbols ( const char * fileName,
set< string > * defined,
set< string > * undefined )

◆ findRequiredExternal()

set< int > * findRequiredExternal ( int nExternal,
int nTotal,
set< string > * defined,
set< string > * undefined )

Definition at line 401 of file extractExternal.cpp.

References begin, i, isDisjoint(), and s.

Referenced by main().

◆ hideSymbols()

void hideSymbols ( char * fileName,
const set< string > & hide )

◆ isDisjoint()

template<class T>
bool isDisjoint ( const set< T > & a,
const set< T > & b )

Definition at line 379 of file extractExternal.cpp.

References a, and b.

Referenced by findRequiredExternal().

◆ main()

int main ( int argc,
char ** argv )

◆ stop()