Go to file
Bjorn Pettersson e73b85d1ab [SimplifyCFG] Discard speculated dbg intrinsics
Summary:
SpeculativelyExecuteBB can flatten the CFG by doing
speculative execution followed by a select instruction.
When the speculatively executed BB contained dbg intrinsics
the result could be a little bit weird, since those dbg
intrinsics were inserted before the select in the flattened
CFG. So when single stepping in the debugger, printing the
value of the variable referenced in the dbg intrinsic, it
could happen that it looked like the variable had values
that never actually were assigned to the variable.

This patch simply discards all dbg intrinsics that were found
in the speculatively executed BB.

Reviewers: aprantl, chandlerc, craig.topper

Reviewed By: aprantl

Subscribers: llvm-commits

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

llvm-svn: 317198
2017-11-02 11:55:14 +00:00
clang [libclang] Add dummy libclang-headers target 2017-11-02 05:04:00 +00:00
clang-tools-extra Fix clangd test on platforms where get_thread_name does nothing. 2017-11-02 09:48:55 +00:00
compiler-rt [fuzzer] Fix nested mallocs 2017-11-02 04:12:10 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc math: Implement native_log10 2017-10-25 16:49:22 +00:00
libcxx Revert "[libc++] Don't alias quick_exit if __ANDROID_API__ < 21" 2017-11-01 23:43:07 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Fix building for ARM with dwarf exception handling 2017-11-02 08:16:16 +00:00
lld [ELF] - Cleanup of processSectionCommands(). 2017-11-01 08:40:28 +00:00
lldb Revert r317182 for https://reviews.llvm.org/D39128 2017-11-02 03:17:07 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [SimplifyCFG] Discard speculated dbg intrinsics 2017-11-02 11:55:14 +00:00
openmp [OpenMP] Fix race condition in omp_init_lock 2017-11-01 19:44:42 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ZoneAlgo/ForwardOpTree] Normalize PHIs to their known incoming values. 2017-10-31 16:11:46 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

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