llvm-project/llvm/lib/Target/AArch64
Kevin Enderby 96918bc406 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

llvm-svn: 206906
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 Add AArch64 big endian Target (aarch64_be) 2014-02-24 11:34:50 +00:00
Utils Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
AArch64.h [AArch64] Add support for TargetTransformInfo Analysis. 2014-02-20 16:00:08 +00:00
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 DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs 2013-06-16 20:34:27 +00:00
AArch64BranchFixupPass.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
AArch64CallingConv.td [AArch64] Removed unnecessary copy patterns with v1fx types. 2013-12-12 15:46:29 +00:00
AArch64FrameLowering.cpp Make consistent use of MCPhysReg instead of uint16_t throughout the tree. 2014-04-04 05:16:06 +00:00
AArch64FrameLowering.h Add const qualifier to some static arrays. 2013-07-15 07:02:45 +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
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 Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
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
AArch64MCInstLower.cpp Move the llvm mangler to lib/IR. 2014-01-07 21:19:40 +00:00
AArch64MachineFunctionInfo.cpp AArch64: add block comments where missing 2013-02-14 16:17:01 +00:00
AArch64MachineFunctionInfo.h AArch64: remove ConstantIsland pass & put literals in separate section. 2013-02-15 09:33:43 +00:00
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 [AArch64] Removed unused i8 type from FPR8 register class. 2014-01-24 22:36:53 +00:00
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 Fix formatting in AArch64 backend. 2013-02-05 13:24:56 +00:00
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 Add AArch64 big endian Target (aarch64_be) 2014-02-24 11:34:50 +00:00
AArch64TargetObjectFile.cpp Make sure -use-init-array has intended effect on all AArch64 ELF targets, not just linux. 2014-01-10 13:41:49 +00:00
AArch64TargetObjectFile.h Make sure -use-init-array has intended effect on all AArch64 ELF targets, not just linux. 2014-01-10 13:41:49 +00:00
AArch64TargetTransformInfo.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
CMakeLists.txt [AArch64] Add support for TargetTransformInfo Analysis. 2014-02-20 16:00:08 +00:00
LLVMBuild.txt LLVMBuild.txt: Add missing dependencies. 2014-04-10 11:16:47 +00:00
Makefile Remove cyclic dependency in AArch64 libraries 2013-02-05 13:24:47 +00:00
README.txt

README.txt

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