1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test
Oliver Stannard f0a90b93e6 [Assembler] Better error messages for .org directive
Currently, the error messages we emit for the .org directive when the
expression is not absolute or is out of range do not include the line
number of the directive, so it can be hard to track down the problem if
a file contains many .org directives.

This patch stores the source location in the MCOrgFragment, so that it
can be used for diagnostics emitted during layout.

Since layout is an iterative process, and the errors are detected during
each iteration, it would have been possible for errors to be reported
multiple times. To prevent this, I've made the assembler bail out after
each iteration if any errors have been reported. This will still allow
multiple unrelated errors to be reported in the common case where they
are all detected in the first round of layout.

Differential Revision: https://reviews.llvm.org/D27411

llvm-svn: 289643
2016-12-14 10:43:58 +00:00
..
Analysis [Verifier] Add verification for TBAA metadata 2016-12-11 20:07:15 +00:00
Assembler [DIExpression] Introduce a dedicated DW_OP_LLVM_fragment operation 2016-12-05 18:04:47 +00:00
Bindings
Bitcode [DIExpression] Introduce a dedicated DW_OP_LLVM_fragment operation 2016-12-05 18:04:47 +00:00
BugPoint
CodeGen [AVR] Add a function instrumentation pass 2016-12-14 10:15:00 +00:00
DebugInfo [DWARF] Preserve column number when emitting 'line 0' record 2016-12-14 00:27:35 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [Verifier] Add verification for TBAA metadata 2016-12-11 20:07:15 +00:00
Integer
JitListener
LibDriver
Linker
LTO LTO: Add support for multi-module bitcode files. 2016-12-14 01:17:59 +00:00
MC [Assembler] Better error messages for .org directive 2016-12-14 10:43:58 +00:00
Object Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules. 2016-12-13 20:20:17 +00:00
ObjectYAML [ObjectYAML] Support for DWARF debug_aranges 2016-12-09 00:26:44 +00:00
Other [PM] Further broaden this test's regex as both the CGSCC and Function 2016-12-10 07:59:59 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 [ThinLTO] Add an API to trigger file-based API for returning objects to the linker 2016-12-14 04:56:42 +00:00
tools [llvm-config] Add --ignore-libllvm 2016-12-13 22:17:59 +00:00
Transforms [X86][InstCombine] Handle demanded elements for operand of AVX-512 scalar floating point to integer conversion intrinsics. 2016-12-14 07:46:12 +00:00
Unit
Verifier [Verifier] Add verification for TBAA metadata 2016-12-11 20:07:15 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg Missed a file in r289503. 2016-12-13 00:32:43 +00:00
lit.site.cfg.in
TestRunner.sh