llvm-6502/lib/Target/AArch64
Kevin Enderby 29c96f133e Fix the assembler to print a better relocatable expression error
diagnostic that includes location information.

Currently if one has this assembly:

	.quad (0x1234 + (4 * SOME_VALUE))

where SOME_VALUE is undefined ones gets the less than
useful error message with no location information:

% clang -c x.s
clang -cc1as: fatal error: error in backend: expected relocatable expression

With this fix one now gets a more useful error message
with location information:

% clang -c x.s 
x.s:5:8: error: expected relocatable expression
 .quad (0x1234 + (4 * SOME_VALUE))
       ^

To do this I plumbed the SMLoc through the MCObjectStreamer
EmitValue() and EmitValueImpl() interfaces so it could be used
when creating the MCFixup.

rdar://12391022


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206906 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-22 17:27:29 +00:00
..
AsmParser PR18929: 2014-03-30 17:09:54 +00:00
Disassembler [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
InstPrinter [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
MCTargetDesc Fix the assembler to print a better relocatable expression error 2014-04-22 17:27:29 +00:00
TargetInfo
Utils
AArch64.h
AArch64.td AArch64: error when both positional & named operands are used. 2014-03-13 09:00:13 +00:00
AArch64AsmPrinter.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
AArch64AsmPrinter.h
AArch64BranchFixupPass.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
AArch64CallingConv.td
AArch64FrameLowering.cpp Make consistent use of MCPhysReg instead of uint16_t throughout the tree. 2014-04-04 05:16:06 +00:00
AArch64FrameLowering.h
AArch64InstrFormats.td AArch64: error when both positional & named operands are used. 2014-03-13 09:00:13 +00:00
AArch64InstrInfo.cpp [cleanup] Lift using directives, DEBUG_TYPE definitions, and even some 2014-04-22 02:03:14 +00:00
AArch64InstrInfo.h
AArch64InstrInfo.td [AArch64] Add SchedRW lists to NEON instructions. 2014-03-21 19:34:41 +00:00
AArch64InstrNEON.td [AArch64] Add SchedRW lists to NEON instructions. 2014-03-21 19:34:41 +00:00
AArch64ISelDAGToDAG.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
AArch64ISelLowering.cpp [AArch64] Enable global merge pass. 2014-04-22 03:33:26 +00:00
AArch64ISelLowering.h [AArch64] Enable global merge pass. 2014-04-22 03:33:26 +00:00
AArch64MachineFunctionInfo.cpp
AArch64MachineFunctionInfo.h
AArch64MCInstLower.cpp
AArch64RegisterInfo.cpp [cleanup] Lift using directives, DEBUG_TYPE definitions, and even some 2014-04-22 02:03:14 +00:00
AArch64RegisterInfo.h [AArch64] Implement the getCSRFirstUseCost API, mirroring that in ARM64. 2014-04-17 16:19:54 +00:00
AArch64RegisterInfo.td
AArch64Schedule.td Fix some doc and comment typos 2014-04-09 14:47:27 +00:00
AArch64ScheduleA53.td [AArch64] Add SchedRW lists to NEON instructions. 2014-03-21 19:34:41 +00:00
AArch64SelectionDAGInfo.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
AArch64SelectionDAGInfo.h
AArch64Subtarget.cpp [cleanup] Lift using directives, DEBUG_TYPE definitions, and even some 2014-04-22 02:03:14 +00:00
AArch64Subtarget.h [cleanup] Fix two headers where we included a standard library header 2014-04-22 02:28:45 +00:00
AArch64TargetMachine.cpp [AArch64] Enable global merge pass. 2014-04-22 03:33:26 +00:00
AArch64TargetMachine.h
AArch64TargetObjectFile.cpp
AArch64TargetObjectFile.h
AArch64TargetTransformInfo.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild.txt: Add missing dependencies. 2014-04-10 11:16:47 +00:00
Makefile
README.txt

This file will contain changes that need to be made before AArch64 can become an
officially supported target. Currently a placeholder.