Go to file
Justin Bogner f2a0d349a6 AMDGPU: Fix a use-after free and a missing break
We're erasing MI here, but then immediately using it again inside the
`if`. This moves the erase after we're done using it.

Doing that reveals a second problem though - this case is missing a
break, so we fall through to the default and dereference MI again.
This is obviously a bug, though I don't know how to write a test that
triggers it - all we do in the error case is print some extra debug
output.

Both of these issue crash on lots of tests under ASAN with the
recycling allocator changes from PR26808 applied.

llvm-svn: 264442
2016-03-25 18:33:16 +00:00
clang [ASTMatchers] Fix build for VariadicFunction. 2016-03-25 17:46:02 +00:00
clang-tools-extra 3rd attempt of fixup with -std=c++11 2016-03-25 00:24:35 +00:00
compiler-rt [asan] Intercept all Heap* related imports from ucrtbase.dll 2016-03-24 20:19:48 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Fix ilogb(double) return type 2016-02-24 00:52:15 +00:00
libcxx Implement is_always_lock_free 2016-03-25 15:48:21 +00:00
libcxxabi [libcxxabi] Disable cxa_thread_atexit_test if unavailable 2016-03-17 10:00:24 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Remove declaration of SymbolTable::codegen, this method was deleted in r264091 2016-03-25 18:20:33 +00:00
lldb Add the same host logging that I added to PlatformRemoteiOS a few 2016-03-25 02:17:27 +00:00
llgo [llgo] Increment "Debug Info Version" 2016-03-23 23:09:00 +00:00
llvm AMDGPU: Fix a use-after free and a missing break 2016-03-25 18:33:16 +00:00
openmp [OMPT] Fix parallel_id and task_id in loop_end with schedule static 2016-03-24 12:52:20 +00:00
polly docs: Clearify that our release note describe the upcoming release of Polly 2016-03-25 14:22:53 +00:00