Files
clang-p2996/lld/test/COFF/Inputs/def-many.py
Martin Storsjö a54919e0c1 [LLD] [COFF] Error out if creating a DLL with too many exported symbols
The PE/DLL format has a limit on 64k exported symbols per DLL; make
sure to check this.

Differential Revision: https://reviews.llvm.org/D86701
2020-08-31 21:15:13 +03:00

6 lines
89 B
Python

import sys
print("EXPORTS")
for i in range(0, int(sys.argv[1])):
print("f%d=f" % (i))