bolt/deps/llvm-18.1.8/lld/test/COFF/noentry.test
2025-02-14 19:21:04 +01:00

8 lines
365 B
Text

# RUN: yaml2obj %p/Inputs/export.yaml -o %t.obj
# RUN: lld-link /out:%t.dll /dll %t.obj
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=ENTRY %s
# RUN: lld-link /out:%t.dll /dll /noentry %t.obj
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=NOENTRY %s
ENTRY: AddressOfEntryPoint: 0x1000
NOENTRY: AddressOfEntryPoint: 0x0