-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Not Prioritized
-
Code Generation Tools
-
CODEGEN-11433
-
-
ARMCLANG_2.1.3.LTS
-
default
-
The attached file.c has these line ...
#include <ti_compatibility.h>
void fxn()
{
_disable_interrupts();
}
Build it ...
$ tiarmclang @options.txt -S file.c
Inspect the resulting assembly file ...
$ findstr _get_CPSR file.S
bl _get_CPSR
.asciz "_get_CPSR" @ string offset=203
The function _get_CPSR is not defined in the compiler RTS library, or anywhere else. This results in an error when linking.