repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[memprof] Remove an unused using directive (#117004)
[llvm-project.git]
/
lld
/
test
/
COFF
/
reloc-discarded-early2.s
blob
c5589dc89935e583ff2539d0716681e0b694d18b
1
# REQUIRES: x86
2
# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
3
# RUN: not lld-link -entry:__ImageBase -subsystem:console %t.obj 2>&1 | FileCheck %s
4
5
.text
6
# CHECK: error: relocation against symbol in discarded section: .drectve
7
.quad .Ldrectve
8
9
.section .drectve
10
.Ldrectve: