llvm with tablegen backend for capstone disassembler
Go to file
Alexandre Ganea 92f91dde69 [third-party] Silence warning on benchmark when building with Clang ToT
fixes:
```
[7409/7446] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\benchmark.cc.obj
C:\git\llvm-project\third-party\benchmark\src\benchmark.cc(172,17): warning: offset of on non-standard-layout type 'State' [-Winvalid-offsetof]
  172 |   static_assert(offsetof(State, error_occurred_) <=
      |                 ^               ~~~~~~~~~~~~~~~
C:\git\llvm_package_18.0.0\build64_stage0\lib\clang\18\include\__stddef_offsetof.h(11,24): note: expanded from macro 'offsetof'
   11 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                        ^                     ~
1 warning generated.
```
2024-01-17 07:23:56 -05:00
.ci [ci] Set timeout for individual tests and report slowest tests (#76300) 2024-01-10 10:39:33 -08:00
.github [GitHub][workflows] Replace curl with sparse checkout (#78303) 2024-01-17 10:31:44 +00:00
bolt [BOLT] Use SmallString::operator std::string (NFC) 2024-01-15 21:59:06 -08:00
clang [clang][CodeGen] Fix gcc warning about unused variable [NFC] 2024-01-17 13:23:08 +01:00
clang-tools-extra [clang-tidy] Fix missing parentheses in readability-implicit-bool-conversion fixes (#74891) 2024-01-16 10:51:18 +01:00
cmake [CMake] Switch the CMP0091 policy (MSVC_RUNTIME_LIBRARY) to the new behaviour 2023-07-17 09:59:05 +03:00
compiler-rt [compiler-rt] Silence warning with MSVC 19.38 (Visual Studio 2022 17.8.3) 2024-01-17 07:23:56 -05:00
cross-project-tests [Dexter] Set ShouldBuild=false for Visual Studio solutions (#75045) 2023-12-11 15:19:40 +00:00
flang [mlir][IR] Rename "update root" to "modify op" in rewriter API (#78260) 2024-01-17 11:08:59 +01:00
libc Revert "[libc][NFC] Refactor FPBits and remove LongDoubleBits specialization (#78192)" (#78329) 2024-01-16 12:09:58 -08:00
libclc libclc: generic: add half implementation for erf/erfc (#66901) 2024-01-09 16:47:53 +00:00
libcxx Revert "[libc++] Clang-tidy enable modernize-use-nullptr. (#76659)" (#78409) 2024-01-17 01:30:52 -08:00
libcxxabi [libc++abi] Fix typo in CMake error message 2024-01-16 10:56:03 -05:00
libunwind [libunwind] Move errno.h and signal.h includes under the block where they're needed (#78054) 2024-01-16 10:31:01 -05:00
lld [LLD] [COFF] Prefer paths specified with -libpath: over toolchain paths (#78039) 2024-01-15 22:52:57 +02:00
lldb [lldb] Skip TestExecutableFirst.test_executable_is_first_before_run on ELF 2024-01-17 10:36:44 +00:00
llvm [RemoveDIs][DebugInfo] Make DIAssignID always replaceable (#78300) 2024-01-17 12:00:30 +00:00
llvm-libgcc [llvm-libgcc][CMake] Refactor llvm-libgcc (#65455) 2023-09-18 22:56:03 -07:00
mlir [mlir][IR] Rename "update root" to "modify op" in rewriter API (#78260) 2024-01-17 11:08:59 +01:00
openmp [openmp] Remove extra ';' outside of function 2024-01-17 07:23:56 -05:00
polly [polly][ScheduleOptimizer] Reland Fix long compile time(hang) reported in polly (#77280) 2024-01-08 09:48:02 -08:00
pstl Clear release notes for 18.x 2023-07-25 13:58:49 +02:00
runtimes [CMake] Always define runtimes-test-depends (#73629) 2023-11-28 15:30:52 -08:00
third-party [third-party] Silence warning on benchmark when building with Clang ToT 2024-01-17 07:23:56 -05:00
utils Disable ConstraintSystemTest for now 2024-01-17 04:04:16 +00:00
.arcconfig
.arclint
.clang-format
.clang-tidy
.git-blame-ignore-revs [libc++] Add libc++ clang-formatting commit to git-blame-ignore-revs file 2023-12-18 14:04:41 -05:00
.gitattributes [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
.gitignore Revert accidental .gitignore change from 9b7763821a 2023-09-07 22:42:05 -07:00
.mailmap .mailmap: add second entry for self 2023-12-19 11:13:19 +00:00
CODE_OF_CONDUCT.md [llvm] Add CODE_OF_CONDUCT.md (#65816) 2023-09-09 10:55:31 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md to remove the not about not accepting PR 2023-09-10 15:21:06 -07:00
LICENSE.TXT
README.md Add OpenSSF Best Practice Badge (#77398) 2024-01-13 07:43:11 -08:00
SECURITY.md

The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices libc++

Welcome to the LLVM project!

This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.

The LLVM project has multiple components. The core of the project is itself called "LLVM". This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.

C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.

Other components include: the libc++ C++ standard library, the LLD linker, and more.

Getting the Source Code and Building LLVM

Consult the Getting Started with LLVM page for information on building and running LLVM.

For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.

Getting in touch

Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.