• Home
  • Raw
  • Download

Lines Matching full:merge

6 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /merge:.foo=.bar
7 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck --check-prefix=MERGE %s
8 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /merge:.foo=.bar /section:.foo,rwe
9 # RUN: llvm-readobj --sections %t.dll | FileCheck --check-prefix=MERGE-SECTION %s
40 # MERGE: Name: .bar
41 # MERGE: Characteristics [
42 # MERGE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
43 # MERGE-NEXT: IMAGE_SCN_MEM_READ
44 # MERGE-NEXT: ]
45 # MERGE-NEXT: SectionData (
46 # MERGE-NEXT: 0000: 0301
48 # MERGE: Name: .bar
49 # MERGE: Characteristics [
50 # MERGE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
51 # MERGE-NEXT: IMAGE_SCN_MEM_READ
52 # MERGE-NEXT: IMAGE_SCN_MEM_WRITE
53 # MERGE-NEXT: ]
54 # MERGE-NEXT: SectionData (
55 # MERGE-NEXT: 0000: 04
57 # MERGE: Name: .foo
58 # MERGE: Characteristics [
59 # MERGE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
60 # MERGE-NEXT: IMAGE_SCN_MEM_READ
61 # MERGE-NEXT: IMAGE_SCN_MEM_WRITE
62 # MERGE-NEXT: ]
63 # MERGE-NEXT: SectionData (
64 # MERGE-NEXT: 0000: 02
66 # MERGE-SECTION: Name: .bar
67 # MERGE-SECTION: Characteristics [
68 # MERGE-SECTION-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
69 # MERGE-SECTION-NEXT: IMAGE_SCN_MEM_READ
70 # MERGE-SECTION-NEXT: ]
72 # MERGE-SECTION: Name: .bar
73 # MERGE-SECTION: Characteristics [
74 # MERGE-SECTION-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
75 # MERGE-SECTION-NEXT: IMAGE_SCN_MEM_READ
76 # MERGE-SECTION-NEXT: IMAGE_SCN_MEM_WRITE
77 # MERGE-SECTION-NEXT: ]
79 # MERGE-SECTION: Name: .foo
80 # MERGE-SECTION: Characteristics [
81 # MERGE-SECTION-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
82 # MERGE-SECTION-NEXT: IMAGE_SCN_MEM_EXECUTE
83 # MERGE-SECTION-NEXT: IMAGE_SCN_MEM_READ
84 # MERGE-SECTION-NEXT: IMAGE_SCN_MEM_WRITE
85 # MERGE-SECTION-NEXT: ]