Displaying 20 results from an estimated 400 matches similar to: "[RFC] Upstream ObjCMetadata Reader Library"
2016 Feb 09
3
[RFC] Error handling in LLVM libraries.
Hi Rafael,
> The main thing I like about the diagnostic system is that it lets us
> differentiate two related but independent concepts:
>
> * Giving the human using the program diagnostics about what went wrong.
> * Propagating an error to the caller so that the upper library layer
> can handle it or pass it up the stack.
I don't think these are really independent. Whether
2016 Feb 10
5
[RFC] Error handling in LLVM libraries.
> > I don't think these are really independent. Whether or not you need to
emit
> > a diagnostic depends on whether a caller can handle the corresponding
error,
> > which isn't something you know at the point where the error is raised.
> But you do in the diag handler. For example, if you are trying to open
> multiple files, some of which are bitcode, you know to
2017 Jul 27
2
llvm 5.0 release rc1 : ExecutionEngine fatal error on MCJIT::getFunctionAddress
Hi everyone,
In llvm 4.0 the MCJIT::getFunctionAddress function return 0 (a null
address) when the symbol is not found :
*uint64_t MCJIT::getSymbolAddress(const std::string &Name, bool
CheckFunctionsOnly) { std::string MangledName; { raw_string_ostream
MangledNameStream(MangledName);
Mangler::getNameWithPrefix(MangledNameStream, Name, getDataLayout()); }
return
2019 Oct 11
2
contributing llvm-install-name-tool
Hey everyone!
Recently there has been some progress on LLVM-based tools for manipulating
MachO binaries: llvm-objcopy has been gaining a lot of important bits to
support MachO (it's relatively close to the point where one can implement
the strip-like functionality), llvm-lipo is functional and supports most of
cctools' lipo options (https://llvm.org/docs/CommandGuide/llvm-lipo.html).
There
2017 Feb 19
5
RFC: Adding llvm::ThinStream
Some background:
A while back while working on code to read / write PDB files, I came up
with Yet Another Stream Abstraction. Note that LLVM already has a few.
Off the top of my head, theres:
1) `MemoryBuffer` and its associated class hierarchy
2) `raw_ostream` and it's associated classes.
3) `DataExtractor` which is used for reading from a StringRef.
There's probably more, and
2012 Aug 03
2
[LLVMdev] Formats supported by llvm/Object/Archive.h
Hi, llvmdev
I've tried to use llvm/Object/Archive.h to print the archive symbol table
for standard Unix .a files by slightly extending a code in llvm-nm,
and the code crashed with wild segfault. It looks like the implementation
in lib/Object/Archive.cpp assumes completely different symbol table format
from what I have
(which I believe is SVR4/GNU variant). Which archive formats does libObject
2015 Jun 02
2
[LLVMdev] Error handling in LLVMObject library
With comdats parts of the file might never be read.
There are also multiple levels of cache and while all the relocations of a
file will fit in ram, it is probably still more efficient to validate them
as they are read.
But I think (typing on a phone) that relocations are another case where the
best is to have a more specific api: the only way the relocation is invalid
from the perspective of
2018 Aug 13
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi, I am begineer to llvm, implementing a main.cpp from
https://github.com/davidar/lljvm/blob/master/backend/main.cpp
A) : When I am declaring a command:
* PassManager PM*
* PM.add(new DataLayout td)*
It shows error:
>
*error: missing template arguments before ‘PM’*
* PassManager PM;*
^
>*main_test.cpp:48:2: error: ‘PM’ was not declared in this scope*
*
2016 Feb 03
6
[RFC] Error handling in LLVM libraries.
Hi Mehdi,
> If you subclass a diagnostic right now, isn’t the RTTI information
available to the handler, which can then achieve the same dispatching /
custom handling per type of diagnostic?
> (I’m not advocating the diagnostic system, which I found less convenient
to use than what you are proposing)
I have to confess I haven't looked at the diagnostic classes closely. I'll
take a
2013 Jul 05
2
[LLVMdev] Hi, people, I propose to move Debug and Object File related headers out of Support
On Jul 4, 2013, at 10:22 PM, 罗勇刚(Yonggang Luo) wrote:
>
> 在 2013-7-4 下午8:53,"Charles Davis" <cdavis5x at gmail.com>写道:
> >
> >
> > On Jul 4, 2013, at 1:43 AM, 罗勇刚(Yonggang Luo) wrote:
> >
> > > LLVM is a modularized software system, so I hope it's was modularized,
> > > And ELF.h is definitely belongs to Object by
2019 Oct 14
2
contributing llvm-install-name-tool
Hey Michael,
I completely agree that setting the rpath properly the first time around is
much preferred. But, changes to the binary, particularly during
development is much quicker.
Prebuilt libraries which are being repackaged is one use case that is
missed.
In the past, I’ve even used it to repair am incorrectly built library which
was missing the library name.
There are a few different
2020 Jun 09
3
RFC: Contributing llvm-libtool (LLVM version of Apple's libtool)
We're planning to contribute an LLVM version of Apple's libtool utility. To quote its man page, "Libtool with -static is intended to replace ar(5) and ranlib". In other words, libtool is the preferred tool to create archives for Apple platforms, and it also has good defaults for that platform (e.g. automatically creating a table of contents with the right format). It provides a
2013 Jul 05
0
[LLVMdev] Hi, people, I propose to move Debug and Object File related headers out of Support
On Thu, Jul 4, 2013 at 10:21 PM, Charles Davis <cdavis5x at gmail.com> wrote:
>
> On Jul 4, 2013, at 10:22 PM, 罗勇刚(Yonggang Luo) wrote:
>
>
> 在 2013-7-4 下午8:53,"Charles Davis" <cdavis5x at gmail.com>写道:
> >
> >
> > On Jul 4, 2013, at 1:43 AM, 罗勇刚(Yonggang Luo) wrote:
> >
> > > LLVM is a modularized software system, so I hope
2018 Aug 14
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi Philip,
I also tried that including file:
#include "llvm/IR/LegacyPassManager.h"
but error remain same. Please help.
On Tue, Aug 14, 2018, 2:58 AM Philip Pfaffe <philip.pfaffe at gmail.com> wrote:
> Hi Ratnesh,
>
> the PassManager used in that example has moved into the legacy namespace:
> http://llvm.org/doxygen/classllvm_1_1legacy_1_1PassManager.html
>
>
2019 Jan 22
2
How to add new arch for llvm-cov show?
Hi all,
I'm trying to support llvm-cov for a new architecture and I have successfully built compiler-rt for my arch. Following steps shown in https://clang.llvm.org/docs/SourceBasedCodeCoverage.html , I encountered an error for the last step(step of llvm-cov show).
The command line was (supposed my arch is XXXX)
"llvm-cov show -arch=XXXX ./foo -instr-profile=foo.profdata"
and the
2018 Mar 26
2
CodeView layering
On Thu, Mar 22, 2018 at 12:55 PM Reid Kleckner <rnk at google.com> wrote:
> On Wed, Mar 21, 2018 at 11:31 AM David Blaikie <dblaikie at gmail.com> wrote:
>
>> I'm looking at fixing some layering violations in LLVM & came across a
>> few in the CodeView handling, specifically:
>>
>> lib/MC/MCCodeView includes several llvm/DebugInfo/CodeView headers
2007 Apr 20
15
Need help with something.
Hello, I need a way to send some script in a div or a form field to
the server,
have the server read it, then return the updated script to the div or
form field.
I can do the div and form field and such, I just need someone to
explain to me how to do this. Can this be done? Thank you very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2016 Feb 03
13
[RFC] Error handling in LLVM libraries.
Hi All,
I've been thinking lately about how to improve LLVM's error model and error
reporting. A lack of good error reporting in Orc and MCJIT has forced me to
spend a lot of time investigating hard-to-debug errors that could easily
have been identified if we provided richer error information to the client,
rather than just aborting. Kevin Enderby has made similar observations
about the
2015 May 30
1
[LLVMdev] Error handling in LLVMObject library
On Fri, May 29, 2015 at 4:06 PM, Alexey Samsonov <vonosmas at gmail.com> wrote:
> Hi everyone,
>
> Having proper error handling in LLVM's Object parsing library is a nice
> thing by itself, but it would additionally allow us to find bugs by fuzzing
> (see r238451 that adds llvm-dwarfdump-fuzzer tool), for which the clean
> input validation is essential.
>
> This
2015 Jun 24
3
[LLVMdev] ORC and relocations
Hello,
I'm working on LLILC (a jit for the CoreCLR built on ORC), in particular, on using LLILC as an ngen jit. I would like to have an ability to be notified of relocations that ObjectLinkingLayer is applying and to be able to tell the linking layer not to resolve certain relocations for external symbols (so that the client can do some custom resolutions later). The only way I found of