The article discusses a problem where Chrome crashes due to a bug in third-party software. Several attempts are made to fix the crashes, including using the NOINLINE and optimize off approaches. Ultimately, an 'asm' block is used to tell the compiler to not assume anything about certain registers, which successfully resolves the crashes. The author acknowledges that working around third-party bugs is not ideal and hopes to remove the workaround in the future.
Table of contents
Attempt #1: NOINLINEAttempt #2: optimize offAttempt #3: it’s clobbering timeClobber blocksFixed, but should we?Sort: