Displaying 20 results from an estimated 300 matches similar to: "LLD doesn't handle globals with appending linkage"
2014 Aug 28
4
[LLVMdev] How to tell whether a GlobalValue is user-defined
>> Agreed. If ld64 can drop support for .o produced by the old gcc that
>> would be awesome. Failing that, what is really needed is
> Because of static archives, the linker has to support old .o files for quite a while. I also don’t know when clang starting getting this right.
r123585 (Jan 16 17:19:34 2011) I think.
> Also, this seems like linker complexity for a very
2018 Aug 05
2
Building LLVM through Bazel
Hi llvm-dev,
I'm not sure if this is the right place for this, but I posted a question
on Stack Overflow
<https://stackoverflow.com/questions/51585688/building-llvm-with-bazel> a
week ago with no response, so feel free to point me elsewhere if there is a
more appropriate place.
Basically, I have a project using LLVM as a dependency currently building
with CMake, which I would like to
2008 Oct 20
5
Combining all possible values of variables into a new...
I'm trying to create a new column in my data.frame where subjects are categorized depending on values on four other columns. In any other case I would just nest a few ifelse statements, however, in this case i have 4*6*2*3=144 combinations and i get weird 'context overflow' errors. So I wonder if there is a more efficient way of doing this.
For illustrational purposes, let's say
2012 Sep 26
0
[LLVMdev] Error while loading profile information
Hi all,
I am trying to load a profile information (llvmprof.out) which has been
separately created, to get the execution count of each basic block and use
it to estimate the execution count of machine basic blocks for getting how
many times any instruction gets executed, for ARM specifically. The error
on running the code comes as:
clang: PassManager.cpp:601: void
2016 Apr 06
2
LTO renaming of constants with inline assembly
On Wed, Apr 6, 2016 at 10:46 AM, Peter Collingbourne <peter at pcc.me.uk>
wrote:
> I suspect that the right way to do promotion/renaming of this sort is to
> rename at the MC layer just before writing the symbol table to the object
> file.
>
I think that is too late - how would the symbols be distinguished in the
LTO case below after the IR is linked but before we renamed the
2016 Apr 06
2
LTO renaming of constants with inline assembly
On Wed, Apr 6, 2016 at 11:16 AM, Peter Collingbourne <peter at pcc.me.uk>
wrote:
> On Wed, Apr 6, 2016 at 10:49 AM, Teresa Johnson <tejohnson at google.com>
> wrote:
>
>>
>>
>> On Wed, Apr 6, 2016 at 10:46 AM, Peter Collingbourne <peter at pcc.me.uk>
>> wrote:
>>
>>> I suspect that the right way to do promotion/renaming of this
2013 Mar 21
2
Howto create variable from the name of another one and get content of it
Hello,
I have a variable created like
... Set(__myVar=${ARG1})
... Set(__${myVar}STATUS=)
If ARG1 is abcd, variable is abcdSTATUS and should be empty. This is OK.
Now I would like to get the value of abcdSTATUS. How to do it?
${${myVar}STATUS}} isn't working, nor ${{myvar}STATUS}
Thanks for any hint
--
Daniel
2008 Nov 02
2
[LLVMdev] Debugging lli using bugpoint
Hi Eli,
Thanks for the reply. I tried with -Xlinker="-ldl ". However it does not
seem to make a difference. It seems that when bugpoint is run with
--run-jit, the linker args are not passed to gcc (from
tools/bugpoint/ExecutionDriver.cpp) :
if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
RetVal =
2016 Apr 13
2
LTO renaming of constants with inline assembly
I still wonder if this would be an issue in _standard_ (not thin) LTO?
This test seems to be OK on my (slightly modified) standard LTO flow, but I do wonder for a more general case.
Sergei
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Peter Collingbourne
2008 Mar 21
1
Problem with Makefile.win and environment variable
Dear all,
When porting my package to WinXP I have the following problem:
I need to create an environment variable "MYVAR=c:\mypath" which I have
saved in the control panel "System->My Computer" (under the `Advanced' tab).
I have two files which need to access MYVAR: config.win, Makefile.win
While "config.win" does recognize MYVAR correctly,
2000 Dec 20
2
Names
I am trying to create a set of vectors which have similar names. They have
a common part and an extra unique part. I am sure I have seen questions on
this before but I have been unable to find it in the archive. There are
examples of sets of names for columns of a data frame, but not for
individual vectors.
Suppose I want vectors named myvar.1 myvar.2 etc.
I tried:
>
2010 Oct 06
5
Create variable by name
Can one create a variable through a function by name
createVariable <- function(name) {
outputVariable = name
name <- NULL
}
after calling
createVariable("myVar")
I would like to have a variable myVar initialized with NULL in my
environment. Is this possible?
Ralf
2012 May 24
1
svychisq using two frames
Hello,
I?m hoping you have a few minutes to help out someone very new to R. I?ve
done some searching, but cannot find this particular issue.
I have survey data from two different time periods (years). Both years are
stratified samples and have the same variables (and variable names), but are
different people in the community answering in the different years.
Everything loads into the survey
2011 Jul 14
2
cbind in aggregate formula - based on an existing object (vector)
Hello!
I am aggregating using a formula in aggregate - of the type:
aggregate(cbind(var1,var2,var3)~factor1+factor2,sum,data=mydata)
However, I actually have an object (vector of my variables to be aggregated):
myvars<-c("var1","var2","var3")
I'd like my aggregate formula (its "cbind" part) to be able to use my
"myvars" object. Is it
2016 Apr 06
2
LTO renaming of constants with inline assembly
I encountered an issue with ThinLTO handling of inline assembly, where the
inline assembly referenced a constant that was a local variable. The local
var was renamed because it was promoted in ThinLTO mode, but the inline
assembly copy was not renamed and we ended up with an undef at link time.
It looks like this is a general problem with inline assembly and LTO.
Wondering if it is a known issue.
2006 May 03
2
Conditional statement style
This is a bit of a nuby question methinks but i''ve had a play/search
around and it''s just bugging me now :0)
Say I have a conditional statement, testing a variable against a number
of values. The first way i did this is like so:
if myvar != "" and myvar != 0 and myvar != nil
# .. code
end
This seems a bit messy - is there neater way of doing this? I thought of:
2007 Jan 24
2
attr_accessor vs attr_accessible
Please guide me how to use those two methods. I can''t differentiate
them. I was doing something on my model and I have put one field in the
attr_accessible method. After that when I try to run the app the app
always says my other fields are blank, but they''re all filled up.
What''s wrong with it?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received
2007 Feb 14
2
Problem with a template file
Hi,
I''ve got a problem when using templates in Puppet.
In my node declarations, i set (or not) some special variables to
activate (or not) some part of my configuration. When i don''t need the
configuration part, i don''t declare the variable.
I then use something like this in my templates:
...
<% if defined? myvar %>
...
myvalue = <%= myvar %>
...
<%
2011 Mar 02
2
[1.4] Comparing value of string with spaces?
Hello
I haven't found an example on how to compare the value of a string
variable with spaces in it, and the While loop below never exits:
========== extensions.conf
exten => start,n,Set(MYVAR="Dummy value")
exten => start,n,NoOp(${MYVAR})
;BAD TOO
;exten => start,n,While(!$[${MYVAR} : "Some string"])
exten => start,n,While($[${MYVAR} != "Some
2008 Nov 04
4
[LLVMdev] Debugging lli using bugpoint
Hi Evan,
Thanks for the pointers. We found a simple test case that causes the problem
(thanks to Tom in my group):
#include<stdio.h>
#include<stdlib.h>
void test();
void (*funcPtr)();
int main(int argc, char **argv) {
funcPtr = test;
test();
}
void test() {
if(funcPtr == test) {
printf("OK!\n");
} else {
fprintf(stderr, "Bad!\n");
exit(1);