llvm-capstone/lld/test/COFF/armnt-dynamicbase.test
Martin Storsjo 6ea167cc43 [COFF] Disallow -dynamicbase:no for arm and arm64
This matches what MSVC link.exe does.

Differential Revision: https://reviews.llvm.org/D41051

llvm-svn: 320517
2017-12-12 19:39:13 +00:00

4 lines
230 B
Plaintext

# RUN: yaml2obj < %p/Inputs/armnt-executable.obj.yaml > %t.obj
# RUN: not lld-link /out:%t.exe /entry:mainCRTStartup /subsystem:console %t.obj /dynamicbase:no 2>&1 | FileCheck %s
# CHECK: dynamicbase:no is not compatible with arm