================
@@ -156,10 +88,86 @@ def main(argv):
     )
 
 
-def entrypoint():
-    multiprocessing.set_start_method("fork")
-    app.run(main)
-
-
 if __name__ == "__main__":
-    entrypoint()
+    parser = argparse.ArgumentParser(
----------------
mtrofin wrote:

nit: could you factor all this in a function and put it at the top - this would 
be consistent to where folks tend to look for module-defined flags.

https://github.com/llvm/llvm-project/pull/78880
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to