/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/tools/clang-format/ |
H A D | BUILD.gn | 1 executable("clang-format") { 4 "//clang/lib/Basic", 5 "//clang/lib/Format", 6 "//clang/lib/Rewrite", 7 "//clang/lib/Tooling/Core", 11 "//clang/lib/AST/", 12 "//clang/lib/Frontend/", 13 "//clang/lib/Sema/",
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/llvm/ |
H A D | config.py | 46 self.lit_config.note("using lit tools: {}".format(path)) 246 def get_clang_builtin_include_dir(self, clang): argument 250 [clang, '-print-file-name=include']) 253 print(clang) 255 "Couldn't find the include dir for Clang ('%s')" % clang) 265 def get_clang_has_lsan(self, clang, triple): argument 266 if not clang: 272 clang_binary = clang.split()[0] 397 self.config.substitutions.append(('%python', '"%s"' % (sys.executable))) 424 message = "couldn't find '{}' program".format(name) [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
H A D | CFIVerify.rst | 30 - Integration tests, present in "/llvm/tools/clang/test/LLVMCFIVerify". These 31 integration tests are part of clang as part of a continuous integration 57 This tool will disassemble binaries and DSO's from their machine code format and 85 Only machine code sections that are marked as executable will be subject to this 86 analysis. Non-executable sections do not require analysis as any execution
|
H A D | GettingStartedVS.rst | 21 The second piece is the `Clang <https://clang.llvm.org/>`_ front end. This 24 machine code. LLVM fully supports the COFF object file format, which is 188 C:\..> clang -c hello.c -emit-llvm -o hello.bc 196 Alternatively you can directly output an executable with clang with: 200 C:\..> clang hello.c -o hello.exe 202 The ``-o hello.exe`` is required because clang currently outputs ``a.out``
|
H A D | GettingStarted.rst | 19 C-like languages use the `Clang <https://clang.llvm.org/>`_ front end. This 31 Getting Started <https://clang.llvm.org/get_started.html>`_ page might have more 65 subprojects you'd like to additionally build. Can include any of: clang, 66 clang-tools-extra, libcxx, libcxxabi, libunwind, lldb, compiler-rt, lld, 70 ``-DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi"``. 466 ``git format-patch`` to output the diff, and attach it to an email message). 476 formatted properly. We use ``clang-format`` for this, which has git integration 477 through the ``git-clang-format`` script. On some systems, it may already be 479 run it -- the following command will format only the code changed in the most 484 % git clang-format HEAD~1 [all …]
|
H A D | DebuggingJITedCode.rst | 19 in-memory object file that contains the debug information in DWARF format. 102 > $BINPATH/clang -g -S -emit-llvm --target=x86_64-unknown-unknown-elf showdebug.c 105 Current executable set to '/workspaces/llvm-project/build/bin/lli' (x86_64).
|
H A D | JITLink.rst | 21 object format; including static initializers, exception handling, thread local 24 (e.g. C++ requires object format support for static initializers to support 27 many features). For some object format features support is provided entirely 37 2. Support for all object format features. 191 or subsections, depending on the format), and annotations describing how to 263 executable, but not from elsewhere. A symbol with local scope should only be 314 whether the section is readable, writable, executable, or some combination 761 for advanced JIT features, including object format features that require 765 ORC Runtime support for object format features typically requires cooperation 790 both the object format and architecture are known ahead of time. [all …]
|
H A D | CoverageMappingFormat.rst | 2 :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 D | TestingGuide.rst | 74 result and print it on the standard output in a textual format suitable for 146 If you have `Clang <https://clang.llvm.org/>`_ checked out and built, you 230 with the full paths to the executable built for each tool (in 561 The suffix for the host platforms executable files. This includes the 574 ``%clang``
|
/netbsd-src/external/apache2/llvm/dist/clang/docs/ |
H A D | AddressSanitizer.rst | 18 * Use-after-scope (clang flag `-fsanitize-address-use-after-scope`) 33 AddressSanitizer run-time library should be linked to the final executable, so 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 77 executable. (You can find the library by searching for dynamic libraries with 79 try to re-exec. Also keep in mind that when moving the executable to another machine, 164 path of the file relative to the location of your executable. 170 Use the following format to specify the names of the functions or libraries
|
H A D | UsersManual.rst | 18 `Clang Web Site <https://clang.llvm.org>`_ or the `LLVM Web 25 `Clang Static Analyzer <https://clang-analyzer.llvm.org>`_, please see its web 55 Clang also provides an alternative driver, :ref:`clang-cl`, that is designed 164 output format of the diagnostics that it generates. 255 .. option:: -fdiagnostics-format=clang/msvc/vi 257 Changes diagnostic output format to better match IDEs and command line tools. 259 This option controls the output format of the filename, line number, 263 **clang** (default) 313 For example, a format string warning will produce these three 328 .. option:: -f[no-]save-optimization-record[=<format>] [all …]
|
H A D | SanitizerCoverage.rst | 56 // binary (executable or DSO). The callback will be called at least 100 clang++ -g -fsanitize-coverage=trace-pc-guard trace-pc-guard-example.cc -c 101 clang++ trace-pc-guard-cb.cc trace-pc-guard-example.o -fsanitize=address 329 The allowlist and blocklist format is similar to that of the sanitizer blocklist format. 360 Be careful that the paths of source files are matched exactly as they are provided on the clang 389 % clang++ -g cov.cc -fsanitize=address -fsanitize-coverage=trace-pc-guard 401 Every time you run an executable instrumented with SanitizerCoverage 403 If the executable is dynamically linked against instrumented DSOs, 406 Sancov data format 409 The format of ``*.sancov`` files is very simple: the first 8 bytes is the magic, [all …]
|
H A D | SourceBasedCodeCoverage.rst | 11 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… 267 least once. Only executable lines within function bodies are considered to be 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). 300 * Tools must also retain **backwards** compatibility with the format of the 304 * The JSON coverage export format has a (major, minor, patch) version triple. 330 library and executable. When the linker finds a definition of this symbol, it [all …]
|
H A D | ClangCommandLineReference.rst | 3 NOTE: This file is automatically generated by running clang-tblgen 17 GCC-compatible ``clang`` and ``clang++`` drivers. 20 .. program:: clang 35 .. program:: clang 61 .. program:: clang 67 .. program:: clang 85 .. program:: clang 105 Static analyzer report output format (html\|plist\|plist-multi-file\|plist-html\|sarif\|text). 113 .. program:: clang 117 .. program:: clang [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/docs/CommandGuide/ |
H A D | llvm-cov.rst | 16 work with ``gcov``\-style coverage or with ``clang``\'s instrumentation 87 count is shown as ``-`` if a line does not contain any executable code. If 185 *BIN* may be an executable, object file, dynamic library, or archive (thin or 190 ``clang`` use the ``-fprofile-instr-generate`` and ``-fcoverage-mapping`` 191 flags. If linking with the ``clang`` driver, pass ``-fprofile-instr-generate`` 194 The coverage information is stored in the built executable or library itself, 198 typically called ``default.profraw``, which can be converted to a format that 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 D | llvm-objdump.rst | 66 Display format-specific file headers. 76 .. option:: --raw-clang-ast 78 Dump the raw binary contents of the clang AST section. 98 Display the version of the :program:`llvm-objdump` executable. Does not stack 126 .. option:: --debug-vars=<format> 129 alongside disassembly. ``format`` may be ``unicode`` or ``ascii``, defaulting 189 Use hex format when printing immediate values in disassembly output. 366 Display only the first format specific file header.
|
H A D | llc.rst | 16 through a native assembler and linker to generate a native executable. 27 language format (``.ll``) or the LLVM bitcode format (``.bc``). 55 :program:`clang`.
|
/netbsd-src/external/apache2/llvm/dist/clang/docs/CommandGuide/ |
H A D | clang.rst | 1 clang - the Clang C, C++, and Objective-C compiler 7 :program:`clang` [*options*] *filename ...* 12 :program:`clang` is a C, C++, and Objective-C compiler which encompasses 20 The clang executable is actually a small driver which controls the overall 56 executable or dynamic library. The output of this stage is typically called 63 the same driver. Please see <https://clang-analyzer.llvm.org> for more details 92 linker is run to combine the results into an executable or shared library. 409 option transparently switches the Clang module format to object file 474 assembly files, otherwise this generates LLVM bitcode format object files 491 the executable as well as generating the ``.dSYM`` bundle using :manpage:`dsymutil(1)`. [all …]
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/ |
H A D | INSTALL | 210 when using gcc or clang as the compiler. If you are 270 with gcc or clang and should be used in conjunction with the 286 may be undesirable if small executable size is an objective. 296 be undesirable if small executable size is an objective. 535 work when used with gcc or clang and should be used in 956 share/man/man5 Contains the OpenSSL configuration format man-pages. 1040 The name of the ar executable to use. 1052 using this variable. Set it to the compiler executable you wish 1053 to use, e.g. "gcc" or "clang". 1061 The name of the nm executable to use. [all …]
|
/netbsd-src/external/bsd/nsd/dist/ |
H A D | acx_nlnetlabs.m4 | 23 # 2015-12-11 FLTO check for new OSX, clang. 70 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax. 91 # AHX_CONFIG_FORMAT_ATTRIBUTE - config.h text for format. 435 dnl in a way that supports clang and suncc (that flag does something else, 444 …S -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e "warning: ob… 455 dnl Check the printf-format attribute (if any) 460 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute) 464 void f (char *format, ...) __attribute__ ((format (printf, 1, 2))); 465 void (*pf) (char *format, ...) __attribute__ ((format (printf, 1, 2))); 473 AC_DEFINE(HAVE_ATTR_FORMAT, 1, [Whether the C compiler accepts the "format" attribute]) [all …]
|
/netbsd-src/external/bsd/unbound/dist/ |
H A D | acx_nlnetlabs.m4 | 23 # 2015-12-11 FLTO check for new OSX, clang. 70 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax. 91 # AHX_CONFIG_FORMAT_ATTRIBUTE - config.h text for format. 435 dnl in a way that supports clang and suncc (that flag does something else, 444 …S -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e "warning: ob… 455 dnl Check the printf-format attribute (if any) 460 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute) 464 void f (char *format, ...) __attribute__ ((format (printf, 1, 2))); 465 void (*pf) (char *format, ...) __attribute__ ((format (printf, 1, 2))); 473 AC_DEFINE(HAVE_ATTR_FORMAT, 1, [Whether the C compiler accepts the "format" attribute]) [all …]
|
/netbsd-src/external/bsd/nsd/dist/doc/ |
H A D | RELNOTES | 77 - 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/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
H A D | LangImpl09.rst | 19 source that the programmer wrote. In LLVM we generally use a format 147 our piece of Kaleidoscope language down to an executable program via this 152 Kaleidoscope-Ch9 < fib.ks | & clang -x ir - 455 …clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 …
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/ |
H A D | Options.td | 1 //===--- Options.td - Options for clang -----------------------------------===// 9 // This file defines the options accepted by clang. 39 // clang and clang-cl modes. 46 // CC1Option - This option should be accepted by clang -cc1. 49 // CC1AsOption - This option should be accepted by clang -cc1as. 109 def clang_i_Group : OptionGroup<"<clang i group>">, Group<i_Group>, DocFlatten; 135 def f_clang_Group : OptionGroup<"<f (clang-only) group>">, 221 // Temporary groups for clang options which we know we don't support, 223 def clang_ignored_f_Group : OptionGroup<"<clang ignored f group>">, 225 def clang_ignored_m_Group : OptionGroup<"<clang ignored m group>">, [all …]
|
/netbsd-src/share/mk/ |
H A D | bsd.README | 317 NONBINMODE Mode for non-executable files. [444] 461 OBJECT_FMT Object file format. [set to "ELF" on architectures that 511 TOOL_AMIGATXLT Amiga assembly language format translator. [amiga-txlt] 513 TOOL_ARMELF2AOUT ELF to a.out executable converter [arm-elf2aout} 576 TOOL_M68KELF2AOUT ELF to a.out executable converter [m68k-elf2aout} 590 TOOL_MIPSELF2ECOFF Convert ELF-format executable to ECOFF for mips. 654 TOOL_VAXMOPCOPY Creates a MOP image from another executable format. 1675 ARM_ELF2AOUT Convert ELF-format executabl [all...] |