Top "Llvm" questions

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

What languages can be compiled to WebAssembly (Wasm)?

What languages can be compiled to WebAssembly (Wasm)? I believe right now C, C++, and Rust (experimental) can be compiled …

llvm programming-languages webassembly
Does the C++ standard allow for an uninitialized bool to crash a program?

I know that an "undefined behaviour" in C++ can pretty much allow the compiler to do anything it wants. However, …

c++ llvm undefined-behavior abi llvm-codegen
How to view Clang AST?

I am trying to get hold on Clang. So, I would like to view the AST generated by Clang after …

clang llvm abstract-syntax-tree
View array in LLDB: equivalent of GDB's '@' operator in Xcode 4.1

I would like to view an array of elements pointed to by a pointer. In GDB this can be done …

xcode debugging xcode4 llvm lldb
What exactly PHI instruction does and how to use it in LLVM

LLVM has phi instruction with quite weird explanation: The 'phi' instruction is used to implement the φ node in the SSA …

llvm
Installing C++11 compiler on Ubuntu?

What is the simplest way to get most up-to-date C++11 compiler on Ubuntu 11.04 without breaking the existing compiler from the …

c++ gcc ubuntu c++11 llvm
Is there a llvm java front end that converts java source to llvm's intermediate form?

From what I've read, there is a llvm program that converts java bytecode to llvm's intermediate form called class2llvm. …

java llvm bytecode
LLVM vs clang on OS X

I have a question concerning llvm, clang, and gcc on OS X. What is the difference between the llvm-gcc 4.2, llvm 2.0 …

c++ c gcc llvm clang
Enable OpenMP support in clang in Mac OS X (sierra & Mojave)

I am using Mac OS X Sierra, and I found that clang (LLVM version 8.1.0 (clang-802.0.38)) does not support OpenMP: when …

macos clang llvm openmp
Confusing Template error

I've been playing with clang a while, and I stumbled upon "test/SemaTemplate/dependent-template-recover.cpp" (in the clang distribution) which …

c++ templates llvm clang