pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / CodeGen / ARM / arm-frameaddr.ll
blob273986034c9b742db474c1f30b0c31f410880ca1
1 ; RUN: llc < %s -mtriple=arm-apple-darwin  | grep mov | grep r7
2 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | grep mov | grep r11
3 ; PR4344
4 ; PR4416
6 define arm_aapcscc i8* @t() nounwind {
7 entry:
8         %0 = call i8* @llvm.frameaddress(i32 0)
9         ret i8* %0
12 declare i8* @llvm.frameaddress(i32) nounwind readnone