| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
LLVM Driver Multicall tool This patch adds an llvm-driver multicall tool that can combine multiple LLVM-based tools. The build infrastructure is enabled for a tool by adding the GENERATE_DRIVER option to the add_llvm_executable CMake call, and changing the tool's main function to a canonicalized tool_name_main format (i.e. llvm_ar_main, clang_main, etc...). As currently implemented llvm-driver contains dsymutil, llvm-ar, llvm-cxxfilt, llvm-objcopy, and clang (if clang is included in the build). llvm-driver can be enabled from builds by setting LLVM_TOOL_LLVM_DRIVER_BUILD=On. There are several limitations in the current implementation, which can be addressed in subsequent patches: (1) the multicall binary cannot currently properly handle multi-dispatch tools. This means symlinking llvm-ranlib to llvm-driver will not properly result in llvm-ar's main being called. (2) the multicall binary cannot be comprised of tools containing conflicting cl::opt options as the global cl::opt option list cannot contain duplicates. These limitations can be addressed in subsequent patches. Differential revision: https://reviews.llvm.org/D109977 | 4 年前 | |
[CMake] Fixing typo in Info.plist generation This is causing an error in the generation of the clang info plist. llvm-svn: 278850 | 9 年前 | |
[Clang] Add a new clang option "-ftime-trace=<value>" The time profiler traces the stages during the clang compile process. Each compiling stage of a single source file corresponds to a separately .json file which holds its time tracing data. However, the .json files are stored in the same path/directory as its corresponding stage's '-o' option. For example, if we compile the "demo.cc" to "demo.o" with option "-o /tmp/demo.o", the time trace data file path is "/tmp/demo.json". A typical c++ project can contain multiple source files in different path, but all the json files' paths can be a mess. The option "-ftime-trace=<value>" allows you to specify where the json files should be stored. This allows the users to place the time trace data files of interest in the desired location for further data analysis. Usage: - clang/clang++ -ftime-trace ... - clang/clang++ -ftime-trace=the-directory-you-want ... - clang/clang++ -ftime-trace=the-directory-you-want/ ... - clang/clang++ -ftime-trace=the-full-file-path-you-want ... Differential Revision: https://reviews.llvm.org/D128048 | 3 年前 | |
[MC] Fix likely uninitialized memory bug See https://reviews.llvm.org/D122258#inline-1223493. I can't repro the issue locally but this seems like the likely culprit. Reviewed By: uabelho Differential Revision: https://reviews.llvm.org/D127630 | 3 年前 | |
[SystemZ][z/OS] Set more text files as text This patch corrects more instances of text files being opened as text. Reviewed By: Jonathan.Crowther Differential Revision: https://reviews.llvm.org/D100654 | 5 年前 | |
[clang] Use value instead of getValue (NFC) | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 9 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 3 年前 |