Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delete boilerplate * Change functions to return `Error` * Test parsing errors * Update callers of ARMAttributeParser::parse() to check the `Error` return value. Since this patch touches nearly everything in the file, I apply http://llvm.org/docs/Proposals/VariableNames.html and change variable names to lower case. Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D75015
- Loading branch information
Showing
11 changed files
with
520 additions
and
687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# REQUIRES: arm | ||
# RUN: llvm-mc -filetype=obj -triple=arm-unknown-linux %s -o %t | ||
# RUN: ld.lld %t -o /dev/null 2>&1 | FileCheck %s | ||
# RUN: llvm-mc -filetype=obj -triple=arm-unknown-linux %s -o %t.o | ||
# RUN: ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s | ||
|
||
# CHECK: invalid subsection length 0 at offset 1 | ||
# CHECK: {{.*}}.o:(.ARM.attributes): unrecognized format-version: 0x0 | ||
|
||
.section .ARM.attributes,"a",%0x70000003 | ||
.quad 0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.