Home
last modified time | relevance | path

Searched refs:relocatable (Results 1 – 25 of 129) sorted by relevance

123456

/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Dexpressions.s7 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
9 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
11 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
13 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
15 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
17 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
19 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
21 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
23 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
25 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
[all …]
H A Dhilo-constaddr-expr.s10 # CHECK: :[[#@LINE+1]]:[[#]]: error: expected relocatable expression
12 # CHECK: :[[#@LINE+1]]:[[#]]: error: expected relocatable expression
16 # CHECK: :[[#@LINE+1]]:[[#]]: error: expected relocatable expression
18 # CHECK: :[[#@LINE+1]]:[[#]]: error: expected relocatable expression
/llvm-project-15.0.7/lld/test/wasm/
H A Drelocatable-options.test2 ; RUN: not wasm-ld -o %t.wasm --relocatable --export-table %t.o 2>&1 | FileCheck %s --check-prefix=…
3 ; RUN: not wasm-ld -o %t.wasm --relocatable --growable-table %t.o 2>&1 | FileCheck %s --check-prefi…
5 ; EXPORT: error: --relocatable is incompatible with --export-table
6 ; GROWABLE: error: --relocatable is incompatible with --growable-table
H A Dsignature-mismatch-relocatable.s3 # RUN: wasm-ld --relocatable %t.o %t2.o -o %t.wasm
7 # symbols) and relocatable output. This issue only occurred when the undefined
H A Darchive.ll31 ; correctly. Since we're using llvm-nm, we must link with --relocatable.
34 ; non-relocatable output (with an option to strip it)
H A Dcustom-sections.ll3 ; RUN: wasm-ld --relocatable -o %t.wasm %t1.o %t2.o
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dinline-asm-diags.ll6 ; CHECK: <inline asm>:2:{{[0-9]+}}: error: expected relocatable expression
9 ; CHECK: <inline asm>:3:{{[0-9]+}}: error: expected relocatable expression
H A Dcmp-immediate-fixup-error.s5 @ CHECK: error: expected relocatable expression
H A Derror-location-ldr-pseudo.s4 @ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected relocatable expression
H A Dmacho-word-reloc-thumb.s4 @ ARM relocatable object files try to look like they're pre-linked, so the
/llvm-project-15.0.7/lld/wasm/
H A DWriter.cpp162 if (config->relocatable || config->emitRelocs) { in createCustomSections()
242 if (config->relocatable || config->isPic) in layoutMemory()
279 if (!config->relocatable && seg->isTLS()) { in layoutMemory()
427 if (config->emitRelocs || config->relocatable) { in addSections()
648 if (config->relocatable) in calculateExports()
699 if (!config->relocatable && !config->emitRelocs) in populateSymtab()
999 if (config->relocatable) in createSyntheticInitFunctions()
1517 if (config->relocatable || config->isPic) in run()
1537 if (!config->relocatable) { in run()
1594 if (!config->relocatable) { in run()
[all …]
H A DDriver.cpp375 config->relocatable = args.hasArg(OPT_relocatable); in readConfigs()
377 args.hasFlag(OPT_gc_sections, OPT_no_gc_sections, !config->relocatable); in readConfigs()
380 !config->relocatable); in readConfigs()
465 if (config->relocatable) { in setConfigs()
503 if (config->relocatable) { in checkOptions()
603 if (config->relocatable) in createSyntheticSymbols()
673 if (config->relocatable) in createOptionalSymbols()
941 if (!config->relocatable && !config->entry.empty()) { in linkerMain()
955 if (!config->relocatable && !config->shared && in linkerMain()
1018 if (!config->relocatable && !config->isPic) { in linkerMain()
H A DLTO.cpp57 if (config->relocatable) in createLTO()
105 r.VisibleToRegularObj = config->relocatable || sym->isUsedInRegularObj || in add()
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dwasm64.s23 i64.const .L.str # get i64 relocatable.
32 f32.load .L.str # relocatable offset!
45 i64.const .L.str # get i64 relocatable.
55 f32.store .L.str # relocatable offset!
69 .int64 .L.str # relocatable inside data.
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dversion-script2.ll3 ;; For non-relocatable output, test we parse symbol versions after LTO,
23 ;; For relocatable output, @ should be retained in the symbol name.
/llvm-project-15.0.7/lld/test/ELF/
H A Drelocatable.s3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/relocatable.s -o %t2.o
10 ## Test --relocatable alias
11 # RUN: ld.lld --relocatable %t1.o %t2.o %t3.o -o %t
H A Dmips-non-zero-gp0.s3 # Check addend adjustment in case of generating a relocatable object
6 # We have to use GNU as and ld.bfd 2.28 to generate relocatable object
H A Drelocatable-non-alloc.s3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/relocatable-non-alloc.s -o %t2.o
H A Dmips-options-r.test2 # points to the section and the linker generates a relocatable output,
H A Drelocatable-tls.s4 # RUN: %S/Inputs/relocatable-tls.s -o %t2.o
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dreloc-directive-bad.s5 .reloc 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
/llvm-project-15.0.7/lld/ELF/
H A DWriter.cpp413 if (!config->relocatable) { in createSyntheticSections()
527 if (config->relocatable) in createSyntheticSections()
1025 if (config->relocatable || config->isPic) in addRelIpltSymbols()
1457 if (config->relocatable) { in sortSections()
1700 if (config->relocatable) in finalizeAddressDependentContent()
1858 if (!config->relocatable) { in finalizeSections()
1934 if (!config->relocatable) { in finalizeSections()
1993 if (!config->relocatable) in finalizeSections()
2740 if (config->relocatable) in checkSections()
2791 if (config->relocatable) in getELFType()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/
H A Dpe-fields.test7 # CHECK: '[[FILE]]': unable to set subsystem on a relocatable object file
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dlinkorder-linked-to.s3 ## Additionally, test that in a relocatable link, SHF_LINK_ORDER sections are
15 ## A non-relocatable link places readonly sections before read-executable sections.
/llvm-project-15.0.7/llvm/test/ExecutionEngine/JITLink/X86/
H A DMachO_x86-64_was_private_extern.test7 # The test case for this is a relocatable object file rather than assembly as

123456