avr-llvm / llvm

[MERGED UPSTREAM] AVR backend for the LLVM compiler library
220 stars 21 forks source link

Perform bounds checking in AVRAsmBackend.cpp #204

Closed dylanmckay closed 8 years ago

dylanmckay commented 8 years ago

In 4d5da1a it was realised that most of the processFixupValue hooks don't actually check whether their operands are out of bounds.

They should only ever be out of bounds when using inline assembler.

dylanmckay commented 8 years ago

Fixed in 6eb7a8b9993992765a24b91b8ef6c09decd7bd42.