forked from OSchip/llvm-project
parent
d121eb2c24
commit
7cafb87441
|
@ -28,7 +28,8 @@ then
|
|||
fi
|
||||
|
||||
EXTRA_FLAGS="-std=c++0x -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2 \
|
||||
-Wsign-conversion -Wshadow -Wconversion -Wnewline-eof"
|
||||
-Wsign-conversion -Wshadow -Wconversion -Wunused-variable \
|
||||
-Wnewline-eof"
|
||||
|
||||
case $TRIPLE in
|
||||
*-apple-*)
|
||||
|
|
|
@ -953,6 +953,7 @@ __cxa_call_unexpected(void* arg)
|
|||
// uint8_t ttypeEncoding
|
||||
uint8_t lpStartEncoding = *lsda++;
|
||||
const uint8_t* lpStart = (const uint8_t*)readEncodedPointer(&lsda, lpStartEncoding);
|
||||
(void)lpStart; // purposefully unused. Just needed to increment lsda.
|
||||
uint8_t ttypeEncoding = *lsda++;
|
||||
if (ttypeEncoding == DW_EH_PE_omit)
|
||||
std::__terminate(t_handler);
|
||||
|
|
Loading…
Reference in New Issue