Mercurial > hg > CbC > CbC_llvm
view lld/test/COFF/export-limit.s @ 213:25ca0248ac32
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Jul 2021 17:05:31 +0900 |
parents | 2e18cbf3894f |
children | c4bab56944e8 |
line wrap: on
line source
# REQUIRES: x86 # RUN: %python %p/Inputs/def-many.py 65535 > %t-65535.def # RUN: %python %p/Inputs/def-many.py 65536 > %t-65536.def # RUN: llvm-mc -triple x86_64-win32 %s -filetype=obj -o %t.obj # RUN: lld-link -dll -noentry %t.obj -out:%t.dll -def:%t-65535.def # RUN: env LLD_IN_TEST=1 not lld-link -dll -noentry %t.obj -out:%t.dll -def:%t-65536.def 2>&1 | FileCheck %s # CHECK: error: too many exported symbols .text .globl f f: ret