Go to file
George Rimar 224816ba16 Recommit r366052 "[obj2yaml] - Rework tool's error reporting logic for ELF target."
No changes, LLD code was updated in r366057.

Original commit message:

ELF.h contains two getSymbol methods
which seems to be used only from obj2yaml.

One of these methods calls another, which in turn
contains untested error message which doesn't
provide enough information.

Problem is that after improving only just that message,
obj2yaml will not show it,
("Error reading file: yaml: Invalid data was
encountered while parsing the file" message will be shown instead),
because internal errors handling of tool is based on ErrorOr<> class which
stores a error code and as a result can only show a predefined error string, what
actually isn't very useful.

In this patch, I rework obj2yaml's error reporting system
for ELF targets to use Error  Expected<> classes.
Also, I improve the error message produced
by getSymbol for demonstration of the new functionality.

Differential revision: https://reviews.llvm.org/D64631

llvm-svn: 366058
2019-07-15 11:53:39 +00:00
clang [PowerPC] Support -mabi=ieeelongdouble and -mabi=ibmlongdouble 2019-07-15 07:25:11 +00:00
clang-tools-extra [clangd] Added highlighting for members and methods. 2019-07-15 08:12:21 +00:00
compiler-rt [libFuzzer] Disable fork.test on AArch64 2019-07-15 11:33:41 +00:00
debuginfo-tests Make nrvo-string test more robust. 2019-06-27 20:38:37 +00:00
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx Improve compile time of variant. 2019-07-14 21:29:39 +00:00
libcxxabi [libcxxabi] Don't process exceptions in cxa_handlers when they're disabled 2019-07-12 19:10:59 +00:00
libunwind [libunwind] Fix Unwind-EHABI.cpp:getByte on big-endian targets 2019-07-09 15:29:06 +00:00
lld [LLD][ELF] - Minor simplification. NFC. 2019-07-15 11:47:54 +00:00
lldb [lldb] [test] Un-XFAIL TestFormattersSBAPI on NetBSD 2019-07-13 06:24:14 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm Recommit r366052 "[obj2yaml] - Rework tool's error reporting logic for ELF target." 2019-07-15 11:53:39 +00:00
openmp [OpenMP] Remove OMP spec versioning 2019-07-12 21:45:36 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly OpaquePtr: Update polly's calls to Loads.h API 2019-07-09 12:13:31 +00:00
pstl [NFC][pstl] Remove unused utility code 2019-07-08 16:35:49 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.