[PATCH] D136092: [CMake] Add Python script to generate version script symbol exports

Sylvestre Ledru via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 00:03:46 PDT 2022


sylvestre.ledru added inline comments.


================
Comment at: llvm/utils/add_llvm_symbol_exports.py:1
+#!/usr/bin/env python3
+
----------------
please add the copyright section


================
Comment at: llvm/utils/add_llvm_symbol_exports.py:11
+with open(sys.argv[3], 'w') as out_fd:
+        out_fd.write('LLVM_' + sys.argv[1] + ' {\n')
+        if os.stat(sys.argv[2]).st_size > 0:
----------------
please run black on this file.
Line 7 = 2 spaces
line 11 = 8 spaces



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136092/new/

https://reviews.llvm.org/D136092



More information about the llvm-commits mailing list