Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] SymbolRef and getSize"
2016 Dec 29
1
Interest in integrating a linux perf JITEventListener?
Having something like this available in tree would definitely be
useful. For simplicity, why don't we start with support for the second
style? This is the long term useful one and would be a good starting
point for getting the code in tree. Can you give a pointer to the patch
so that I can assess the rough complexity? If it's simple enough, I'd
be happy to help get it reviewed
2017 Feb 02
0
Interest in integrating a linux perf JITEventListener?
Hi,
On 2016-12-29 13:17:50 -0800, Philip Reames wrote:
> Having something like this available in tree would definitely be
> useful.
Cool.
> For simplicity, why don't we start with support for the second style? This
> is the long term useful one and would be a good starting point for getting
> the code in tree.
Works for me.
> Can you give a pointer to the patch so that
2018 Aug 08
2
LLD COFF library: crashes when lld::coff::link is called twice
+Rui and Peter
On Wed, Jul 25, 2018 at 8:34 AM, Andrew Kelley via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Here's a fix:
>
> --- a/lld/COFF/Driver.cpp
> +++ b/lld/COFF/Driver.cpp
> @@ -72,6 +72,9 @@ bool link(ArrayRef<const char *> Args, bool CanExitEarly,
> raw_ostream &Diag) {
> exitLld(errorCount() ? 1 : 0);
>
> freeArena();
> +
2018 Jul 25
2
LLD COFF library: crashes when lld::coff::link is called twice
If you call lld::coff::link twice, the second time gives this backtrace:
msvcp140d.dll!00007ffc35830806() Unknown
> zig.exe!std::_Debug_pointer<lld::coff::Chunk * __ptr64
const>(lld::coff::Chunk * const * _Ptr, const wchar_t * _File, unsigned int
_Line) Line 926 C++
zig.exe!std::_Debug_range2<lld::coff::Chunk * __ptr64 const *
__ptr64>(lld::coff::Chunk * const *
2018 Apr 01
2
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
Hi Paul,
How can i make this call to intrinsic from the c++ code ?
I'm not working with the IR language, but directly in C++ with
IRBuilder::CreateAlloca.
My goal is that one :
- Generate machine code with an instance of the class 'IRBuilder'
- Emit 'ObjFile' class instance with MCJIT
- Create a DwarfContext instance directly from the emitted ObjFile object
2018 Jun 07
2
[lld] ObjFile::createRegular is oblivious of PendingComdat
I encountered a segfault when using lld to cross-compile for Windows
(+MinGW) from Linux. The problem happens with objects built by gcc. The
problem is that ObjFile::CreateRegular considers a PendingComdat to be
valid (and later causes an illegal pointer dereference). The following
patch fixes the crash:
diff --git a/COFF/InputFiles.cpp b/COFF/InputFiles.cpp
index 9e2345b0a..f47d612df 100644
2018 Jun 07
2
[lld] ObjFile::createRegular is oblivious of PendingComdat
Can you upload a reproducer? You can create it using the /linkrepro flag.
Peter
On Thu, Jun 7, 2018 at 2:50 PM, Reid Kleckner via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> GCC does comdats completely differently from the spec. Since you contacted
> me about this off of the mailing list, I started investigating what they
> do, and it is completely different. It's
2018 Apr 02
0
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
"IR" often refers to the general concept/semantics, not only the textual
format in .ll files (there are 3 main forms - bitcode, textual IR, and the
in-memory representation (llvm::Module, etc - constructed using IRBuilder)).
A great place to start is to look at what Clang does to produce debug info
- it uses IRBuilder, for instance. So you could look at how Clang uses the
IRBuilder when
2004 Jul 07
9
Windows 2K outperform Linux/Samba very much?
Hi, all:
I want to check small files' property(such as date, path, and so on)
frequently. The files are stored in netwrok driver and their sizes
vary from 2KB to 5KB.
I found that Windows 2K outperform Linux/Samba very much after I
campared the bench results. I am very confused about it and who can
explain it?
The computers' configurations are as follows:
1. PC Client
It
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
Is anyone else seeing a bootstrap failure on x86_64-apple-darwin15 in
current trunk?
[ 95%] Linking CXX executable ../../bin/llvm-objdump
Undefined symbols for architecture x86_64:
"_xar_serialize", referenced from:
DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*,
unsigned int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>,
2012 Jan 23
3
[LLVMdev] ELFObjectFile changes, llvm-objdump showing 'wrong' values?
Hi all,
I'm using the MC framework for a project, and while updating to latest
trunk (r148672) encountered the following issue:
It seems that SymbolRef::getAddress and SymbolRef::getFileOffset have
been changed to add the symbol's offset to the offset of the
containing section?
This has the following implications:
To get the /actual/ fileoffset, I now need to do:
Symbol.getFileOffset()
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 12:08 PM, Reid Kleckner <rnk at google.com> wrote:
> Kevin Enderby added those symbol uses in r270491. It has a cmake
> feature test, and all the uses of those symbols appear bracketed in
> HAVE_LIBXAR, so I don't know what went wrong for you.
The trigger for this build failure is the usage of
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON. If I drop that
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 1:24 PM, Jack Howarth
<howarth.mailing.lists at gmail.com> wrote:
> On Tue, May 24, 2016 at 1:22 PM, Jack Howarth
> <howarth.mailing.lists at gmail.com> wrote:
>> On Tue, May 24, 2016 at 12:08 PM, Reid Kleckner <rnk at google.com> wrote:
>>> Kevin Enderby added those symbol uses in r270491. It has a cmake
>>> feature test, and
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 2:28 PM, Chris Bieneman <beanz at apple.com> wrote:
> Jack,
>
> What version of CMake are you using?
>
> -Chris
Chris,
I am using cmake 3.5.2. My read of this problem is as follows.
While libLLVM.dylib is being linked against -lxar when
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON is passed to cmake, the libLLVM.dylib
is created with -Wl,-dead_strip such that
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 1:35 PM, Kevin Enderby <enderby at apple.com> wrote:
> Hi Jack,
>
> Just a guess here, this may be the bug Chris helped me out with in the use of the include file xar/xar.h which is not C++ safe. I needed to wrap my include via:
>
> #ifdef HAVE_LIBXAR
> extern "C" {
> #include <xar/xar.h>
> }
> #endif
>
> I think we
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
Kevin Enderby added those symbol uses in r270491. It has a cmake
feature test, and all the uses of those symbols appear bracketed in
HAVE_LIBXAR, so I don't know what went wrong for you.
On Tue, May 24, 2016 at 8:07 AM, Jack Howarth via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Is anyone else seeing a bootstrap failure on x86_64-apple-darwin15 in
> current trunk?
>
> [
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 1:22 PM, Jack Howarth
<howarth.mailing.lists at gmail.com> wrote:
> On Tue, May 24, 2016 at 12:08 PM, Reid Kleckner <rnk at google.com> wrote:
>> Kevin Enderby added those symbol uses in r270491. It has a cmake
>> feature test, and all the uses of those symbols appear bracketed in
>> HAVE_LIBXAR, so I don't know what went wrong for you.
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 2:37 PM, Jack Howarth
<howarth.mailing.lists at gmail.com> wrote:
> On Tue, May 24, 2016 at 2:28 PM, Chris Bieneman <beanz at apple.com> wrote:
>> Jack,
>>
>> What version of CMake are you using?
>>
>> -Chris
>
> Chris,
> I am using cmake 3.5.2. My read of this problem is as follows.
> While libLLVM.dylib is
2016 May 24
1
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 3:03 PM, Jack Howarth
<howarth.mailing.lists at gmail.com> wrote:
> On Tue, May 24, 2016 at 2:37 PM, Jack Howarth
> <howarth.mailing.lists at gmail.com> wrote:
>> On Tue, May 24, 2016 at 2:28 PM, Chris Bieneman <beanz at apple.com> wrote:
>>> Jack,
>>>
>>> What version of CMake are you using?
>>>
>>>
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
Hi Jack,
Just a guess here, this may be the bug Chris helped me out with in the use of the include file xar/xar.h which is not C++ safe. I needed to wrap my include via:
#ifdef HAVE_LIBXAR
extern "C" {
#include <xar/xar.h>
}
#endif
I think we may need some help from Chris to track this down. I’ll bug him in a bit to see if he can help us on this.
Kev
> On May 24, 2016, at