Displaying 20 results from an estimated 132 matches for "manglers".
Did you mean:
mangler
2012 Jul 31
1
[LLVMdev] How to create a mangler instance from target machine?
Dear LLVM,
Might be a easy question for someone, but not for me now. Consider there is
a TargetMachine instance. Having this target, how could you get a
corresponding Mangler class instance?
Mangler depends on MCContext, which is connected with LLVMTargetMachine
inherited from TargetMachine. However, LLVMTargetMachine is only available
for targets machines implementations, and not available
2008 Nov 23
2
[LLVMdev] RFC: Mangling Unnamed Global Values
Hi all,
Right now the Mangler::getValueName() method will produce something
like "__unnamed_1_37" for a global value that doesn't have a name.
This is wrong for Objective-C where CFStrings will get these labels,
thus preventing the linker from coalescing them.
[/tmp]> nm -s __DATA __cfstring -m foo.o
00000000000244d0 (__DATA,__cfstring) non-external __unnamed_1_0
2013 May 09
3
[LLVMdev] C++ Name mangling
Hi,
I'm trying to find a solution to the following problem: I need to generate
a mangled name for given C++ function. Could I use llvm Mangler class for
it?
Regards,
Blackbox dev team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130509/0ed811f7/attachment.html>
2013 Aug 22
0
[LLVMdev] Mangler does not check for duplicate symbols?
The current implementation of llvm::Mangler does not check if a symbol name
exists before mangling. This can cause problems if the mangled name
aliases another symbol in the IR. For example, consider the following:
@"a(b" = addrspace(1) global float 1.0
@"a_28_b" = addrspace(1) global float 1.0
If I run this through the x86 backend, I get:
llc:
2011 Nov 07
9
No sound in World of Warcraft - intermittant.
At first I thought it was due to running Mangler simultaneously, but recently we've had no sound in World of Warcraft.
One night when I was setting up to raid that night, I started WoW, and sound worked fine. I then quit WoW, started Mangler, started WoW, had sound in the first but not the second. When WoW started this dialogue box popped up saying that a change in hardware had been detected
2008 Nov 24
2
[LLVMdev] RFC: Mangling Unnamed Global Values
The symbols I'm interested in already have internal linkage (as you
would expect). But because the mangler is in charge of assigning them
names, they never seem to be decorated with the 'L' in front. . . .
-bw
On Mon, Nov 24, 2008 at 10:48 AM, Dan Gohman <gohman at apple.com> wrote:
> Can symbols with external linkage but no name be converted
> to have internal linkage?
2008 Nov 24
0
[LLVMdev] RFC: Mangling Unnamed Global Values
Can symbols with external linkage but no name be converted
to have internal linkage? Would that solve the problem?
Dan
On Nov 23, 2008, at 2:15 AM, Bill Wendling wrote:
> Hi all,
>
> Right now the Mangler::getValueName() method will produce something
> like "__unnamed_1_37" for a global value that doesn't have a name.
> This is wrong for Objective-C where CFStrings
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
2012 Apr 02
0
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
This is a behaviour configurable in the MCAsmInfo. I've decided to turn
it on by default in (possibly optimistic) hopes that most assemblers are
reasonably sane. If this proves a problem, switching to default seems
reasonable.
---
include/llvm/MC/MCAsmInfo.h | 7 +++++++
lib/MC/MCAsmInfo.cpp | 1 +
lib/Target/Mangler.cpp | 11 +++++++----
3 files changed, 15 insertions(+),
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
2011 May 06
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
Hello all,
I am a LLVM newer who want to add a new backend(EBC) into LLVM. After coping
the related
files from another target and modifying it, I meet a problem when I build
the project. The
error message is as follows:
================================================================
[ 94%] Built target llvm-dis
Linking CXX executable ../../bin/llvm-mc
Undefined symbols:
2013 Feb 20
4
[LLVMdev] x86_stdcallcc @<n> mangling vs. '\1' prefix [was: x86_stdcallcc and extra name mangling on Windows]
I don't remember anything other that what I've written in the bug João
has mentioned.
Probably something like this patch
http://llvm.org/bugs/show_bug.cgi?id=14410#c6
?
2013/2/20 João Matos <ripzonetriton at gmail.com>:
> I think so. There have been other reports lately related to this being
> wrong.
>
> http://llvm.org/bugs/show_bug.cgi?id=14410
>
> CC'ing
2013 May 09
0
[LLVMdev] C++ Name mangling
No, the LLVM Mangler class really only does low-level manglings like
'_' prefixing, stdcall mangling on Windows, and escaping funny
symbols.
The Clang mangler, however, does what you want. But, you'll need to
feed it a clang AST in order to get a name out. Depending on the
parameters of your function, this may be easy or hard.
On Thu, May 9, 2013 at 8:38 AM, B B <blackbox.dev.ml
2009 Sep 17
1
[LLVMdev] Patch for PR4776
Hello,
This patch against svn r82147 "fixes" PR4776. Certain targets (e.g.,
MSP430) allow a symbol to start with a number, e.g. "0x0021"; you can
say stuff like "mov.b &0x0021, r15" to copy a byte from memory address
0x0021 to register r15. LLVM had been generating this ill-formed code
instead:
mov.b &_30_x0021, r15 # note ASCII '0' has
2016 Jul 28
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
I needed to be able to update stub pointers for hot functions that get
recompiled in a lazy JIT that uses CompileOnDemandLayer. In order to do
this I added a method that allows pointers to be updated but does not
expose any of the other internals of the COD layer.
Does anyone have a cleaner way to do this? Has something to facilitate
this already been added? Would it be possible to merge this
2003 Oct 25
3
[LLVMdev] version 1.0, compiling under cygwin
Hello llvmdev,
(just for fun) I've tried to compile LLVM under cygwin.
With "make -k" I got only:
-----------------
DynamicLinker.cpp: In function `void* GetAddressOfSymbol(const char*)':
DynamicLinker.cpp:40: error: `RTLD_DEFAULT' undeclared (first use this
function)
DynamicLinker.cpp:40: error: (Each undeclared identifier is reported only once
for each
2010 Apr 22
0
[LLVMdev] 2.7 release notes
Chris Lattner <clattner at apple.com> writes:
> Ok, the LLVM 2.7 release notes are in near final shape. Please take
> a look and suggest improvements (or, better yet, just commit
> improvements if you have commit access):
About the API changes, some that hit me when I ported some code to
LLVM 2.7, and not in the release notes (I had sent a private email
some time ago) :
---
2017 Jun 19
3
VC C++ demangler
A long time ago, when I devised the grammar and structure of the Microsoft C++ name mangling scheme (decorated names), the document describing the object model and the name decoration scheme were made publically available. Perhaps this is still available publically, or perhaps Microsoft might be willing to share an up to date definition of the name-decoration grammar, especially in light of the
2008 Nov 24
2
[LLVMdev] RFC: Mangling Unnamed Global Values
On Nov 24, 2008, at 11:07 AM, Chris Lattner wrote:
>
> On Nov 24, 2008, at 11:01 AM, Bill Wendling wrote:
>
>> The symbols I'm interested in already have internal linkage (as you
>> would expect). But because the mangler is in charge of assigning them
>> names, they never seem to be decorated with the 'L' in front. . . .
>
> If you use
2012 Dec 25
0
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
> While testing a File I/O sample program, I've encountered a link failure due
> to missing implementation of "\01__isoc99_fscanf" function. I think this
> function should be named "__isoc99_fscanf" instead. Please see the program
> code and LLVM IR generated by DragonEgg and clang below. It shows that clang
> generates "__isoc99_fscanf", while
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
+Lang Hames <lhames at gmail.com>, Master Regent of the Three <No, Two sir>
JITs
On Thu, Jul 28, 2016 at 12:31 PM Sean Ogden via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I needed to be able to update stub pointers for hot functions that get
> recompiled in a lazy JIT that uses CompileOnDemandLayer. In order to do
> this I added a method that allows pointers to