mirror of
https://github.com/intel/llvm.git
synced 2026-02-07 16:11:27 +08:00
GNU windres, and MS cvtres (unless the /readonly option is passed) produce read-write .rsrc sections, when creating resource object files. This caused the sections to not be added to the precreated RsrcSec, and therefore not be added to the data directory. Differential Revision: https://reviews.llvm.org/D63837 llvm-svn: 364660
6 lines
181 B
Plaintext
6 lines
181 B
Plaintext
# RUN: lld-link /out:%t.exe /dll /noentry %S/Inputs/id.res.o
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck %s
|
|
|
|
CHECK: ResourceTableRVA: 0x1000
|
|
CHECK: ResourceTableSize: 0x80
|