Lines Matching defs:lib
32 def nm_get_symbols(tool, lib):
42 cmd + [lib],
69 def readobj_is_32bit_windows(tool, lib):
71 [tool, "--file-header", lib], universal_newlines=True
114 # from clang/lib/AST/MicrosoftMangle.cpp):
307 llvm_nm_path, should_keep_symbol, calling_convention_decoration, lib = arg
310 for (symbol, is_def) in nm_get_symbols(llvm_nm_path, lib):
390 metavar="lib",
407 for lib in args.libs:
409 # libraries, so we need to add .lib/.a to the end and maybe lib to the
411 suffixes = [".lib", ".a", ".obj", ".o"]
412 if not any([lib.endswith(s) for s in suffixes]):
414 if os.path.exists(lib + s):
415 lib = lib + s
417 if os.path.exists("lib" + lib + s):
418 lib = "lib" + lib + s
420 if not any([lib.endswith(s) for s in suffixes]):
421 print("Don't know what to do with argument " + lib, file=sys.stderr)
423 libs.append(lib)