[PATCH] D27913: [XRay] Fix assertion failure on empty machine basic blocks (PR 31424)
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 18 23:48:42 PST 2016
dberris created this revision.
dberris added a reviewer: chandlerc.
dberris added subscribers: llvm-commits, varno.
The original version of the code in XRayInstrumentation.cpp assumed that
functions may not have empty machine basic blocks (or that the first one
couldn't be). This change addresses that by special-casing that specific
We provide a .mir test-case to make sure we're handling this
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4413 bytes
Desc: not available
More information about the llvm-commits