diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-01-18 15:31:11 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-01-18 15:31:11 +0000 |
commit | 8277c41a899bc2e1290ce22595fbd79191f32066 (patch) | |
tree | 11229fdf6d0ca6edac562eab8b0a8dbab9f72270 /clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | |
parent | 68019578a3f9e708b70300ef1746d6586188fcc3 (diff) | |
download | bcm5719-llvm-8277c41a899bc2e1290ce22595fbd79191f32066.tar.gz bcm5719-llvm-8277c41a899bc2e1290ce22595fbd79191f32066.zip |
Warn when calling a non interrupt function from an interrupt on ARM
The idea for this originated from a really tricky bug: ISRs on ARM don't
automatically save off the VFP regs, so if say, memcpy gets interrupted and the
ISR itself calls memcpy, the regs are left clobbered when the ISR is done.
https://reviews.llvm.org/D28820
llvm-svn: 292375
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp')
0 files changed, 0 insertions, 0 deletions