Home
last modified time | relevance | path

Searched full:odr (Results 1 – 25 of 127) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A DOptions.td28 defm odr_deduplication : BB<"odr-deduplication",
29 "Do ODR deduplication for debug types(default)",
30 "Don`t do ODR deduplication for debug types">;
32 def odr : Flag<["--"], "odr">,
34 HelpText<"Alias for --odr-deduplication">;
36 def no_odr : Flag<["--"], "no-odr">,
38 HelpText<"Alias for --no-odr-deduplication">;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h1 //===- ODRDiagsEmitter.h - Emits diagnostic for ODR mismatches --*- C++ -*-===//
26 /// Diagnose ODR mismatch between 2 FunctionDecl.
32 /// Diagnose ODR mismatch between 2 EnumDecl.
38 /// Diagnose ODR mismatch between 2 CXXRecordDecl.
48 /// Diagnose ODR mismatch between 2 RecordDecl that are not CXXRecordDecl.
54 /// Diagnose ODR mismatch between 2 ObjCInterfaceDecl.
61 /// Diagnose ODR mismatch between ObjCInterfaceDecl with different
70 /// Diagnose ODR mismatch between 2 ObjCProtocolDecl.
80 /// Diagnose ODR mismatch between ObjCProtocolDecl with different definitions.
H A DASTImportError.h25 NameConflict, /// Naming ambiguity (likely ODR violation).
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_globals.cpp138 // Check ODR violation for given global G via special ODR indicator. We use
142 // Instrumentation requests to skip ODR check. in CheckODRViolationViaIndicator()
151 // externally visible symbol with the same name. This is an ODR violation. in CheckODRViolationViaIndicator()
161 // Check ODR violation for given global G by checking if it's already poisoned.
181 // cheaply detect ODR violation: if we try to poison an already poisoned
182 // global, we have ODR violation error.
190 // and can freely check ODR violation with the first method.
192 // This routine chooses between two different methods of ODR violation
212 Report("In either case this is likely an ODR violation bug,\n"); in RegisterGlobal()
219 // Try detecting ODR (One Definition Rule) violation, i.e. the situation in RegisterGlobal()
[all …]
H A Dasan_flags.inc151 "If >=2, detect violation of One-Definition-Rule (ODR); "
152 "If ==1, detect ODR-violation only if the two variables "
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticASTKinds.td459 InGroup<ODR>;
464 InGroup<ODR>;
472 InGroup<ODR>;
479 InGroup<ODR>;
499 InGroup<ODR>;
508 InGroup<ODR>;
513 InGroup<ODR>;
522 InGroup<ODR>;
529 InGroup<ODR>;
536 InGroup<ODR>;
[all …]
H A DTargetCXXABI.h215 /// because the ODR requires that every virtual function be defined
227 /// The ARM ABI observes that the ODR provides an additional guarantee:
228 /// a virtual function is always ODR-used, so if it is defined inline,
/freebsd/usr.bin/clang/llvm-dwarfutil/
H A Dllvm-dwarfutil.163 .B \-\-odr\-deduplication
82 .B \-\-no\-odr\-deduplication
83 Disable \fI\%\-\-odr\-deduplication\fP\&.
/freebsd/sys/dev/gpio/
H A Dqoriq_gpio.c277 uint32_t dir, odr, mask, reg; in qoriq_gpio_pin_config_32() local
287 dir = odr = mask = 0; in qoriq_gpio_pin_config_32()
302 odr |= (1 << i); in qoriq_gpio_pin_config_32()
305 odr &= ~(1 << i); in qoriq_gpio_pin_config_32()
315 reg = (bus_read_4(sc->sc_mem, GPIO_GPODR) & ~mask) | odr; in qoriq_gpio_pin_config_32()
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_isr.c52 (uint32_t *)cpqary3p->odr)) { in cpqary3_hw_isr()
111 (uint32_t *)cpqary3p->odr); in cpqary3_hw_isr()
118 (uint32_t *)cpqary3p->odr); in cpqary3_hw_isr()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinkerParallel/
H A DDWARFLinker.h
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_mux.c60 const overlay_dev_t *odl, *odr; in overlay_mux_comparator() local
62 odr = b; in overlay_mux_comparator()
63 if (odl->odd_vid > odr->odd_vid) in overlay_mux_comparator()
65 else if (odl->odd_vid < odr->odd_vid) in overlay_mux_comparator()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Parallel/
H A DDWARFLinker.h45 /// 3. Analyze live DIEs and type names(if ODR deduplication is requested).
55 /// if (ODR deduplication is requested)
81 /// ODR deduplication: Artificial compilation unit will be constructed to keep
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h351 // ODR violations.
369 static LinkageTypes getLinkOnceLinkage(bool ODR) { in getLinkOnceLinkage() argument
370 return ODR ? LinkOnceODRLinkage : LinkOnceAnyLinkage; in getLinkOnceLinkage()
372 static LinkageTypes getWeakLinkage(bool ODR) { in getWeakLinkage() argument
373 return ODR ? WeakODRLinkage : WeakAnyLinkage; in getWeakLinkage()
457 /// knows about ODR semantics.
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h1 //===- UsedDeclVisitor.h - ODR-used declarations visitor --------*- C++ -*-===//
9 // declarations that are ODR-used by an expression or statement.
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h608 /// Whether an explicit capture has been odr-used in the body of the
613 /// Whether an explicit capture has been non-odr-used in the body of
927 /// will truly be odr-used (i.e. need to be captured) by that nested lambda,
934 /// do not involve an odr-use (they may still need to be captured
1003 /// Mark a variable's reference in a lambda as non-odr using.
1013 /// manner that does not involve its odr-use (e.g. undergoes
1024 /// it's obviously not odr-used here, because the full-expression is
1028 /// odr-used. This would involve removal of the variable-referring-expression
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h
H A DDWARFLinkerDeclContext.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h70 /// ODR Declaration context.
94 /// Is ODR marking done?
321 /// Is this unit subject to the ODR rule?
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_reg.h109 * Each bit of the ODR is mapped 1-to-1 to a MSI or MSI-X vector
115 * corresponding bit in the ODR. For INT-X it also then deasserts
194 * bit (and vector) in the ODR.
/freebsd/contrib/llvm-project/lld/docs/ELF/
H A Dwarn_backrefs.rst98 In C++, this is likely an ODR violation. We probably need a dedicated option
99 for ODR detection.
/freebsd/sys/contrib/device-tree/Bindings/ipmi/
H A Daspeed-kcs-bmc.txt21 - reg : The address and size of the IDR, ODR and STR registers
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp
/freebsd/contrib/llvm-project/libcxx/include/
H A D__config522 // 2. The symbol is given an ABI tag that encodes the ODR-relevant properties of the library.
523 // This ensures that no ODR violation can arise from mixing two TUs compiled with different
525 // program contains two definitions of a function, the ODR requires them to be token-by-token
532 // and the other aborts the program). This violates the ODR and makes the program ill-formed, and in
536 // A similar reasoning holds for many other properties that are ODR-affecting. Essentially any
538 // can be considered ODR-affecting. In practice, we don't encode all such properties in the ABI
/freebsd/contrib/llvm-project/libcxx/src/
H A Dmutex_destructor.cpp14 // In order to avoid ODR violations within libc++ itself, we need to ensure

123456