Displaying 20 results from an estimated 1100 matches similar to: "Building LLVM with VisualStudio 2017"
2019 Sep 20
2
build bot mails
At Arm we are not receiving any build bot mails from llvm.buildmaster at lab.llvm.org.
Our IT is a bit in the dark what's going on here (they don't see anything in logs, no failures, no connections), their hunch is that is a "DNS (MX record) issue on llvm.org's end". I don't know who to contact or how to progress this. Anyone perhaps an idea?
Cheers,
Sjoerd.
2014 Jul 23
4
[LLVMdev] the clang 3.5 loop optimizer seems to jump in unintentional for simple loops
the clang 3.5 loop optimizer seems to jump in unintentional for simple loops
the very simple example
----
const int SIZE = 3;
int the_func(int* p_array)
{
int dummy = 0;
#if defined(ITER)
for(int* p = &p_array[0]; p < &p_array[SIZE]; ++p) dummy += *p;
#else
for(int i = 0; i < SIZE; ++i) dummy += p_array[i];
#endif
return dummy;
}
int main(int argc, char** argv)
{
2015 May 06
2
[LLVMdev] Memory Allocation Optimized away with new by not with ::operator new
I’ve missed it. I did a quick search and the only thread I found is back from 2013. Could you please provide me with a link to the thread?
François Fayard
Founder & Consultant - Inside Loop
Tel: +33 (0)6 01 44 06 93 <tel:+33%206%2001%2044%2006%2093>
Web: www.insideloop.io <http://www.insideloop.io/>
Twitter: @insideloop_io
> On 06 May 2015, at 07:21, David Blaikie <dblaikie
2015 Jan 29
0
[LLVMdev] Adding PDB support to lib\DebugInfo
>The pdb reading code relies *very heavily* on Windows APIs
can you make shure not to have any windows api stuff in the pdb-reader interface
so its easy to - if someone wants to - implement an windows-api independent version (support reading under linux etc.)
because the pdb format needs to be analysed anyway for writing pdb information on compile/link (in the future)
Am 29.01.2015 um 19:20
2017 May 29
1
JIT - Resolve obj file without a main
Hello Lang,
so you are part of the "Jitter-Team"?
I'm really interested in this whole jitting-process. I wanted to know, is
there a way to load other obj-files, than the one created with clang?
Could I load - for example - a obj-File from VisualStudio? Or will the
namemangeling fail?
Kind regards
Björn
From: Lang Hames <lhames at gmail.com>
To: bjoern.gaier at
2017 May 17
2
JIT - Resolve obj file without a main
Hi Lang,
I'm using Windows. I was parsing an IR-File and added the Module to the
ExectuionEngine. If I than searched for a function, I just got 0. But when
the module had a main, I got an address. I solved the problem via a call
to "generateCodeForModule". The JIT didn't even called my SymbolResolver
in this special case.
Could you please tell me, if there is a way to
1999 Apr 15
2
Performance Problems (VisualStudio)
All,
Please help me defend Samba.
We are having major performance problems when using VisualStudio
to build projects. The source lives on the server, and the intermediate
files are dumped locally to try to speed things up.
One of the engineers downloaded a demo of NetManage/Chameleon NFS and
it was significantly faster. Here are some numbers:
samba-1.9.18p8 samba-1.9.18p8
2018 Sep 19
4
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
>because with that generator the CMAKE_BUILD_TYPE variable is ignored
>because it is a "multi-configuration target".
thanks for the link, is that a bug in the CMake configuration (or better
not getting any warning) or is there just documentation missing?
so i can use --config Debug or --config Release and get the correct
results - i hope that works the build takes hours
2018 Sep 19
4
Can i reduce my clang/JIT app in size?
i want to integrate a C source JITer into my application but the
resulting executables are too large
is it possible to reduce the resulting libs/exe some way?
current VS2017/svn build example:
llvm-build\Release\bin\clang-interpreter.exe ~36MB
for now (that can change later)
- i want to jit simple c-code
- no std library or something
- x64 only
- no deep/full architecture optimization needed
-
2018 Sep 19
2
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
>are you setting the optimized tablegen option?
LLVM_OPTIMIZED_TABLEGEN is not active - i will try that
>In addition, make sure you have plenty of memory
i've got only Intel Core 2 Quad CPU Q8300/2.50Ghz and 8GB RAM for testing
not much cpu power AND memory
Am 19.09.2018 um 11:31 schrieb James Henderson:
> Regarding the Debug build taking hours, are you setting the optimized
2020 Aug 18
2
Get all symbols stored(?)in llvm::orc::ExecutionSession
Hi Bjoern,
I’m a bit worried about taking symbols from modules, because some of the
> symbols might change later when the code was compiled with the JIT
Symbol names shouldn't change from the moment they're added to the JIT
(i.e. after being fully mangled). Consistency of symbol names is a
requirement for ORC to work.
You could try hooking into the orc::Platform API for this:
2019 Jun 27
2
Questions about moving from MCJIT to Orc JIT
Nice!
Let me try to answer some questions,
Before that I have to mention this is ORC version 2 APIs and this is where
the project is moving forward.
JITDylib is the symbol table, basically for a JIT Symbol it have an
associated materializers, (you can think of it like an entity that generate
the address for that symbol),
Example: compiler are materializers.
So to add symbols to your own JIT you
2008 Dec 01
1
Attempting to get a STELLA model into R
To whomever may be of help,
I am a student in a graduate modeling class at the University of North Carolina at Wilmington. I am trying to get a STELLA model converted into R. I am in the process of trying to 're-write' the script into R, but I seem to be missing pieces (i.e. parm values) that are keeping me from being able to replicate this model into R. Does anyone have an idea of a
2019 Jan 15
2
Function - replaceAllUsesWith
What does that mean for my code and the idea?
I'm a really unexperienced LLVM user...
-----Original Message-----
From: Tim Northover <t.p.northover at gmail.com>
Sent: Dienstag, 15. Januar 2019 15:19
To: Gaier, Bjoern <Bjoern.Gaier at horiba.com>
Cc: Stefan Gränitz <stefan.graenitz at gmail.com>; Mehdi AMINI <joker.eph at gmail.com>; llvm-dev <llvm-dev at
2010 Jun 01
2
Help on aggregate method
Dear R experts,
I would really appreciate if you had an idea on how to use more
efficiently the aggregate method:
More specifically, I would like to calculate the mean of certain
values on a data frame,? grouped by various attributes, and then
create a new column in the data frame that will have the corresponding
mean for every row. I attach part of my code:
matchMean <-
2020 Aug 25
2
ORC JIT - Incorrect support for COFF files?
Hey Lang,
That is really cool :D Is the creation of that table a Windows thingy or is this the way the LLVM handles it?
Also… since it is COFF related – the never ending story of “finding my global constructors” first of all: Yes! I tried using the “initialize” function of LLVMJIT – however this only worked when I was loading a Module. When I added the object file (from the same source) the
2018 Aug 29
2
JIT client - late cross references
Hello Alex,
This is an interesting approach! Thank you for that!
I understand the basic idea but sadly... My skills in handling the IR are not very high, so I can't imagine where and when to replace the calls to b() with the trampoline. The only thing I can handle would be creating that trampoline variable.
Also will this approach be a problem for really time critical tasks? Since I replace
2019 Jan 15
2
Function - replaceAllUsesWith
I could actually track down the cause of the problem:
mainModue->getFunction("puts")->replaceAllUsesWith(
llvm::ConstantExpr::getPointerCast(
llvm::ConstantInt::get(llvm::IntegerType::get(context, 64), 0xF),
mainModue->getFunction("puts")->getType()
)
);
The problem is the line where I receive the type of the function "puts", it will crash the application
2018 Nov 12
2
JIT-Client for Shared Memory
Hi Bjoern,
For single object files you can override the needsToReserveAllocationSpace
method that is inherited from llvm::RuntimeDyld::MemoryManager (make it
return true) and then implement the reserveAllocationSpace method to
allocate memory for all sections up front.
There is no easy way to do this for multiple object files. I think you
would have to mimic the memory size calculations
2020 Mar 27
3
Exceptions on Windows & MSVC
Here is a wiki page and git repo with an implementation of SEH that passes
all the tests for x86.
We're looking for feedback before putting a patch on Phabricator.
https://github.com/tentzen/llvm-project
https://github.com/tentzen/llvm-project/wiki
On Mon, Nov 18, 2019 at 10:59 PM Gaier, Bjoern <Bjoern.Gaier at horiba.com>
wrote:
> Thank you for this Aaron!
>
>
>
> In