Lines Matching defs:lib

32 def dumpbin_get_symbols(lib):
33 process = subprocess.Popen(['dumpbin','/symbols',lib], bufsize=1,
44 def nm_get_symbols(lib):
46 process = subprocess.Popen(['nm','-P','-Xany','-C','-p',lib], bufsize=1,
50 process = subprocess.Popen(['nm','-P',lib], bufsize=1,
66 def readobj_get_symbols(lib):
67 process = subprocess.Popen(['llvm-readobj','--symbols',lib], bufsize=1,
94 def dumpbin_is_32bit_windows(lib):
97 process = subprocess.Popen(['dumpbin','/headers',lib], bufsize=1,
111 def objdump_is_32bit_windows(lib):
112 output = subprocess.check_output(['objdump','-f',lib],
120 def readobj_is_32bit_windows(lib):
121 output = subprocess.check_output(['llvm-readobj','--file-header',lib],
131 def aix_is_32bit_windows(lib):
148 # defined in clang's lib/AST/Type.cpp; discard the rest as it's assumed that
174 # from clang/lib/AST/MicrosoftMangle.cpp):
218 # explipict specializations that are defined in clang's lib/AST/Type.cpp;
336 get_symbols, should_keep_symbol, calling_convention_decoration, lib = arg
338 for symbol in get_symbols(lib):
353 parser.add_argument('libs', metavar='lib', type=str, nargs='+',
410 for lib in args.libs:
412 # libraries, so we need to add .lib/.a to the end and maybe lib to the
414 suffixes = ['.lib','.a','.obj','.o']
415 if not any([lib.endswith(s) for s in suffixes]):
417 if os.path.exists(lib+s):
418 lib = lib+s
420 if os.path.exists('lib'+lib+s):
421 lib = 'lib'+lib+s
423 if not any([lib.endswith(s) for s in suffixes]):
424 print("Don't know what to do with argument "+lib, file=sys.stderr)
426 libs.append(lib)