Go to file
Matthias Braun 8763c0c5b7 MachineModuleInfo: Initialize DbgInfoAvailable depending on debug_cus existing
Before this patch DbgInfoAvailable was set to true in
DwarfDebug::beginModule() or CodeViewDebug::CodeViewDebug(). This made
MIR testing weird since passes would suddenly stop dealing with debug
info just because we stopped the pipeline before the debug printers.

This patch changes the logic to initialize DbgInfoAvailable based on the
fact that debug_compile_units exist in the llvm Module. The debug
printers may then override it with false in case of debug printing being
disabled.

Differential Revision: https://reviews.llvm.org/D53885

llvm-svn: 345740
2018-10-31 17:18:41 +00:00
clang [clang] try-fix broken documentation builder 2018-10-31 17:00:50 +00:00
clang-tools-extra [clang-tidy] add -fexceptions to failing unit-test, unbreak buildbot 2018-10-31 17:08:09 +00:00
compiler-rt Update ioctl(2) operations for NetBSD 8.99.25 2018-10-31 15:04:20 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc configure: Rework support for gfx9+ devices that were added post LLVM 3.9 2018-09-15 22:02:01 +00:00
libcxx Correct ABI list change wrongly advertised as being in the 7.0 release 2018-10-30 23:24:02 +00:00
libcxxabi [libc++abi] Provide __cxa_thread_atexit on Fuchsia 2018-10-29 20:20:26 +00:00
libunwind [CMake] Link to compiler-rt if LIBUNWIND_USE_COMPILER_RT is ON. 2018-10-08 18:35:00 +00:00
lld [ELF] Fallback to sh_link=0 if neither .dynsym nor .symtab exists 2018-10-30 20:54:54 +00:00
lldb [LLDB] - Regroup the switch entries in DWARFFormValue::ExtractValue. NFC. 2018-10-31 16:12:29 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm MachineModuleInfo: Initialize DbgInfoAvailable depending on debug_cus existing 2018-10-31 17:18:41 +00:00
openmp [LIBOMPTARGET] Add support for mapping of lambda captures. 2018-10-30 15:42:12 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [TI removal] Generically discuss terminators rather than use the soon to 2018-10-18 07:43:30 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.