Home
last modified time | relevance | path

Searched +refs:clang +refs:format +refs:region (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DClangFormat.rst13 :program:`clang-format` is located in `clang/tools/clang-format` and can be used
14 to format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code.
18 $ clang-format -help
19 OVERVIEW: A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code.
27 USAGE: clang-format [options] [<file> ...]
31 Clang-format options:
35 =unknown - If set, unknown format options are only warned about.
39 differing format depending on an option being
42 When reading from stdin, clang-format assumes this
45 clang-format from an editor integration
[all …]
H A DSourceBasedCodeCoverage.rst11 This document explains how to use clang's source-based code coverage feature.
62 % clang++ -fprofile-instr-generate -fcoverage-mapping foo.cc -o foo
132 …% clang++ -fprofile-instr-generate -fcoverage-mapping -mllvm -runtime-counter-relocation foo.cc -o…
158 region counts (even in macro expansions):
184 region counts:
271 least once. A code region may span multiple lines (e.g in a large function
285 implies 100% region coverage for a function. The project-wide totals for each
292 profile format. Raw profiles may be dependent on the specific compiler
297 These formats are not forwards-compatible: i.e, a tool which uses format
298 version X will not be able to understand format version (X+k).
[all …]
H A DAddressSanitizer.rst18 * Use-after-scope (clang flag `-fsanitize-address-use-after-scope`)
34 make sure to use ``clang`` (not ``ld``) for the final link step. When linking
52 % clang++ -O1 -g -fsanitize=address -fno-omit-frame-pointer example_UseAfterFree.cc
59 % clang++ -O1 -g -fsanitize=address -fno-omit-frame-pointer -c example_UseAfterFree.cc
61 % clang++ -g -fsanitize=address example_UseAfterFree.o
97 0x7f7ddab8c084 is located 4 bytes inside of 400-byte region [0x7f7ddab8c080,0x7f7ddab8c210)
170 Use the following format to specify the names of the functions or libraries
H A DLanguageExtensions.rst50 #define __has_builtin(x) 0 // Compatibility with non-clang compilers.
85 #define __has_feature(x) 0 // Compatibility with non-clang compilers.
145 #if __has_cpp_attribute(clang::fallthrough)
146 #define FALLTHROUGH [[clang::fallthrough]]
152 The attribute scope tokens ``clang`` and ``_Clang`` are interchangeable, as are
170 #define __has_c_attribute(x) 0 // Compatibility with non-clang compilers.
181 The attribute scope tokens ``clang`` and ``_Clang`` are interchangeable, as are
197 #define __has_attribute(x) 0 // Compatibility with non-clang compilers.
224 #define __has_declspec_attribute(x) 0 // Compatibility with non-clang compilers.
251 #ifdef __is_identifier // Compatibility with non-clang compilers.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DCoverageMappingFormat.rst2 :format: html
14 LLVM's code coverage mapping format is used to provide code coverage
22 documentation <https://clang.llvm.org/docs/SourceBasedCodeCoverage.html>`.
24 We start by briefly describing LLVM's code coverage mapping format and the
25 way that Clang and LLVM's code coverage tool work with this format. After
26 the basics are down, more advanced features of the coverage mapping format
33 LLVM's code coverage mapping format is designed to be a self contained
34 data format that can be embedded into the LLVM IR and into object files.
35 It's described in this document as a **mapping** format because its goal is
42 1. When clang compiles a source file with ``-fcoverage-mapping``, it
[all …]
H A DExceptionHandling.rst12 exception handling in LLVM. It describes the format that LLVM exception
36 exception frame format can be found at `Exception Frames
436 a destination address by `llvm.eh.sjlj.longjmp`_. The buffer format and the
438 ``__builtin_setjmp`` implementation allowing code built with the clang and GCC
502 The format of this call frame information (CFI) is often platform-dependent,
503 however. ARM, for example, defines their own format. Apple has their own compact
504 unwind info format. On Windows, another format is used for all architectures
513 referred to as the language-specific data area (LSDA). The format of the LSDA
592 if the exception came from a particular DLL or code region, or if code faulted
872 …but not in LLVM unwinder (`libunwind <https://clang.llvm.org/docs/Toolchain.html#unwind-library>`_…
[all …]
H A DAMDGPUUsage.rst529 <https://clang.llvm.org/docs/ClangOffloadBundler.html>`_ for a general
554 Offload Bundler <https://clang.llvm.org/docs/ClangOffloadBundler.html>`_ except
577 <https://clang.llvm.org/docs/ClangOffloadBundler.html>`_.
665 The region address space uses the hardware Global Data Store (GDS). All
667 given region address. However, the same region address accessed by wavefronts
1258 YAML [YAML]_ textual format.
1420 binary format.
1437 encoded as a map in the Message Pack [MsgPack]_ binary data format. See
2009 First the ``THEN`` region is executed by setting the ``EXEC`` mask to the
2011 ``ELSE`` region is executed by negating the ``EXEC`` mask and logical ``AND`` of
[all …]
H A DLangRef.rst480 On targets that use the ELF object file format, default visibility
646 region of memory, and all memory objects in LLVM are accessed through
1404 have a particular format. Specifically, it must begin with a sequence of
1410 makes the format of the prologue data highly target dependent.
1748 This attribute indicates that the function will trigger a guard region
1750 no further apart than the size of the guard region to a previous
1801 It defines the size of the guard region. It ensures that if the function
1802 may use more stack space than the size of the guard region, stack probing
1845 `SafeStack <https://clang.llvm.org/docs/SafeStack.html>`_
2385 :ref:`stackmap entry <statepoint-stackmap-format>`. See the intrinsic description
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/CommandGuide/
H A Dllvm-cov.rst16 work with ``gcov``\-style coverage or with ``clang``\'s instrumentation
190 ``clang`` use the ``-fprofile-instr-generate`` and ``-fcoverage-mapping``
191 flags. If linking with the ``clang`` driver, pass ``-fprofile-instr-generate``
198 typically called ``default.profraw``, which can be converted to a format that
228 Show the execution counts for each region by displaying a caret that points to
229 the character where the region starts. Defaults to false.
233 Show the execution counts for each line if there is only one region on the
267 .. option:: -format=<FORMAT>
269 Use the specified output format. The supported formats are: "text", "html".
274 only supported for the html format.
[all …]
H A Dllvm-mca.rst30 For example, you can compile code with clang, output assembly, and pipe it
35 $ clang foo.c -O2 -target x86_64-unknown-unknown -S -o - | llvm-mca -mcpu=btver2
41 …$ clang foo.c -O2 -target x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -S -o - | llvm-mca -…
96 the AT&T (vic. Intel) assembly format for the code printed out by the tool in
101 Prefer hex format for numeric literals in the output assembly printed as part
212 Print the requested views in JSON format. The instructions and the processor
227 substring ``LLVM-MCA-BEGIN`` marks the beginning of a code region. A comment
228 starting with substring ``LLVM-MCA-END`` marks the end of a code region. For
237 If no user-defined region is specified, then :program:`llvm-mca` assumes a
238 default region which contains every instruction in the input file. Every region
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/Proposals/
H A DGitHubMove.rst89 distribute the contents of the repositories depending on region and load.
129 We can thus use this revision number to ensure that e.g. `clang -v` reports a
155 email format unchanged besides the commit URL.
253 # Configure LLVM and clang
254 cmake path/to/monorepo -DLLVM_ENABLE_PROJECTS=clang
341 At this point you have every sub-project (llvm, clang, lld, lldb, ...), which
377 Let's look how to assemble llvm+clang+libcxx at a given revision.
386 svn co https://llvm.org/svn/llvm-project/clang/trunk clang -r $REVISION
399 git clone https://llvm.org/git/clang.git
400 cd clang/
[all …]
/netbsd-src/external/bsd/nsd/dist/doc/
H A DChangeLog79 - Fix unused variable warning in unit test, from clang compile.
177 - Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04.
223 readable text format. The number of IXFRs is num.rixfr in
948 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet
1101 - Nicer output on travis for clang analysis.
1113 - Use travis for build check, initial unit test and clang analysis.
1206 - assertions for clang analysis.
1220 if the database format is modified or updated.
1227 - Fix clang analysis warning on null in closest encloser for wildcard
1229 - Fix clang analysis warnings.
[all …]
H A DRELNOTES77 - Fix unused variable warning in unit test, from clang compile.
120 readable text format. The number of IXFRs is num.rixfr in
491 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet
575 - Use travis for build check, initial unit test and clang analysis.
659 - please clang analyzer and fix parse of IPSECKEY with bad gateway.
719 printout from clang analyzer.
738 - Fix warnings emitted by clang for --enable-packed. Alignment is not
778 - zone parser parses type AVC (it has TXT format).
783 - Fix text format of deletes for CDS and CDNSKEY, single 0 to represent
914 - Fix flto check for OSX clang.
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/
H A DAnalyzerOptions.def199 "Statistics would be serialized in JSON format inside the main dictionary "
262 "integer into the format where symbols are on the left-hand side and the "
373 unsigned, RegionStoreSmallStructLimit, "region-store-small-struct-limit",
399 "The path to the YAML format file containing a mapping from source file "
403 "{/main.cpp: [clang++, /main.cpp], other.cpp: [clang++, /other.cpp]}",
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttrDocs.td9 // To test that the documentation builds cleanly, you must run clang-tblgen to
15 // To run clang-tblgen to generate the .rst file:
16 // clang-tblgen -gen-attr-docs -I <root>/llvm/tools/clang/include
17 // <root>/llvm/tools/clang/include/clang/Basic/Attr.td -o
18 // <root>/llvm/tools/clang/docs/AttributeReference.rst
22 // Windows (from within the clang\docs directory):
24 // Non-Windows (from within the clang\docs directory):
30 NOTE: This file is automatically generated by running clang-tblgen
236 <https://clang.llvm.org/docs/BlockLanguageSpec.html>`, the same restriction
459 ``clang::musttail`` can only be applied to a ``return`` statement whose value
[all …]
H A DDiagnosticSemaKinds.td792 " but format string expands to at least %2">,
963 "'#pragma clang attribute %select{%1.|}0pop' with no matching"
964 " '#pragma clang attribute %select{%1.|}0push'">;
966 "unused attribute %0 in '#pragma clang attribute push' region">,
969 "'#pragma clang attribute push' regions ends here">;
971 "'#pragma clang attribute push' at end of file">;
975 "'#pragma clang attribute' attribute with no matching "
976 "'#pragma clang attribute push'">;
2996 "strftime format attribute requires 3rd parameter to be 0">;
2998 "format attribute requires variadic function">;
[all …]
/netbsd-src/sys/external/isc/libsodium/dist/
H A DChangeLog5 clang, icc). This includes the WebAssembly target.
137 deterministically fill a memory region with pseudorandom data. This
149 - Android builds are now using clang on platforms where it is
247 in little-endian format instead of behaving like `memcmp()`.
/netbsd-src/external/bsd/unbound/dist/doc/
H A DChangelog268 clang test.
867 - Fix compile warnings for printf ll format on mingw compile.
934 - please clang analyzer for loop in test code.
977 - Add a region to serviced_query for allocations.
1295 - Fix clang-analysis warnings for testcode/readzone.c.
1663 - Fix clang analysis warning.
1804 custom region alloc init.
1864 - Free up auth zone parse region after use for lookup of host
2030 - Fix unused variable warning for clang analyzer.
2453 any more, and also the config file format does not seem to have
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A DChangeLog-2019456 * testsuite/ld-msp430-elf/attr-gnu-region-lower-upper.d: New test.
457 * testsuite/ld-msp430-elf/attr-gnu-region-lower.d: New test.
458 * testsuite/ld-msp430-elf/attr-gnu-region-upper.d: New test.
641 using clang.
985 * testsuite/ld-elf/orphan-region.d: Likewise.
1102 * testsuite/ld-i386/property-1.r: Adjust for new output format
1287 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
1785 * testsuite/ld-elf/orphan-region.d: Likewise.
2181 Enable large code model when running -mdata-region={upper,either}
2808 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
/netbsd-src/external/gpl3/binutils/dist/ld/
H A DChangeLog-2019456 * testsuite/ld-msp430-elf/attr-gnu-region-lower-upper.d: New test.
457 * testsuite/ld-msp430-elf/attr-gnu-region-lower.d: New test.
458 * testsuite/ld-msp430-elf/attr-gnu-region-upper.d: New test.
641 using clang.
985 * testsuite/ld-elf/orphan-region.d: Likewise.
1102 * testsuite/ld-i386/property-1.r: Adjust for new output format
1287 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
1785 * testsuite/ld-elf/orphan-region.d: Likewise.
2181 Enable large code model when running -mdata-region={upper,either}
2808 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dinvoke.texi304 -fdiagnostics-format=@r{[}text@r{|}json@r{]} @gol
311 -fdiagnostics-path-format=@r{[}none@r{|}separate-events@r{|}inline-events@r{]} @gol
316 -fdiagnostics-escape-format=@r{[}unicode@r{|}bytes@r{]}}
354 -Wno-format-contains-nul -Wno-format-extra-args @gol
371 -Wmissing-field-initializers -Wmissing-format-attribute @gol
380 -Wparentheses -Wno-pedantic-ms-format @gol
398 -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{|}format@r{|}malloc@r{]} @gol
532 -fira-region=@var{region} -fira-hoist-pressure @gol
801 -mfp16-format=@var{name}
1136 -mcode-region= -mdata-region= @gol
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Dinvoke.texi284 -fdiagnostics-format=@r{[}text@r{|}json@r{]} @gol
291 -fdiagnostics-path-format=@r{[}none@r{|}separate-events@r{|}inline-events@r{]} @gol
326 -Wno-format-contains-nul -Wno-format-extra-args @gol
342 -Wmissing-field-initializers -Wmissing-format-attribute @gol
349 -Wparentheses -Wno-pedantic-ms-format @gol
365 -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{|}format@r{|}malloc@r{]} @gol
484 -fira-region=@var{region} -fira-hoist-pressure @gol
750 -mfp16-format=@var{name}
1069 -mcode-region= -mdata-region= @gol
1795 information about the format of the @var{file}.
[all …]
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git797 Note that, GAS instruction (ginsn) format does not support
1095 - gcc and clang (to trigger both the has_stderr_symbol true and false cases)
1167 input format is not recognized. This problem occurs in the function
1540 format; if the UnwindInfo references an invalid frame, then the
1852 Determine whether to output operands through the format
1853 of opcodes. When opc->format is an empty string, no extra
1905 While gcc propagates the printf attribute via the typedef, clang
2092 … gcc/gengtype-parse.cc:142:21: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
2923 sim: igen: fix format-zero-length warnings
4248 options are supported on clang and gcc version 7 and newer.
[all …]
/netbsd-src/external/gpl3/autoconf/dist/doc/
H A Dstandards.texi788 When an error is spread over several files, you can use this format:
810 If you want to mention the column number, use this format:
863 like @code{ls} except that its default output format is always
864 multi-column format.
961 the canonical name for this program, in this format:
988 library you want to mention. Use the same format for these lines as for
1126 general page for help using GNU programs. The format should be like this:
1509 @item format
2161 @item suffix-format
2401 using Standard C syntax, the format is this:
[all …]
/netbsd-src/external/gpl3/gcc/dist/
H A DNEWS154 * STABS: Support for emitting the STABS debugging format is
277 * Support for __builtin_shufflevector compatible with the clang
282 * Support for __builtin_dynamic_object_size compatible with the clang
310 + The printf and scanf format checking with [26]-Wformat now
311 supports the %b format specified by C2X for binary integers,
312 and the %B format recommended by C2X for printf.
486 now selects the IEEE 128-bit floating point format for
787 lightweight debugging format that provides information about C
789 types. This format is designed to be embedded in ELF files and to
793 debugging format mainly used in BPF programs and the Linux kernel.
[all …]

12