Displaying 20 results from an estimated 800 matches similar to: "Reporting source errors from MCCodeEmitter::encodeInstruction() ?"
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote:
> This probably needs to be slightly tweaked to work with mainline. I don't see anything objectionable, but I think Daniel needs to review this one.
Updated patch to work with mainline.
http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94
- Michael Spencer
2013 Oct 10
2
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
Hi,
This patch adds R600/SI disassembly text to compiled object files, when
a code dump is requested, to assist debugging in Mesa clients.
Here's an example of the output in a Mesa client with a corresponding
patch and RADEON_DUMP_SHADERS set:
Shader Disassembly:
S_WQM_B64 EXEC, EXEC ; BEFE0A7E
S_MOV_B32 M0, SGPR6 ; BEFC0306
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 12:12 PM, Krzysztof Parzyszek wrote:
> On 9/7/2012 7:20 AM, Matthew Curtis wrote:
>>
>> The attached patch implements one possible solution. It introduces a
>> position stack and a couple of directives:
>>
>> * 'CHECK-PUSH:' pushes the current match position onto the stack.
>> * 'CHECK-POP:' pops the top value off of the stack
2014 Mar 10
2
[LLVMdev] A bug or a feature?
Hi,
I've run Clang Static Analyzer checker alpha.cplusplus.NewDeleteLeaks
over LLVM codebase to detect false-positives and at the same time
eliminate memory leaks. The majority of leaks were detected in
lib/Target/* and lib/MC/*. In all cases the similar trick was detected
as a leak (example from
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp) :
static MCStreamer
2012 Sep 07
0
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 7:20 AM, Matthew Curtis wrote:
>
> The attached patch implements one possible solution. It introduces a
> position stack and a couple of directives:
>
> * 'CHECK-PUSH:' pushes the current match position onto the stack.
> * 'CHECK-POP:' pops the top value off of the stack and uses it to set
> the current match position.
>
> The above
2006 Apr 03
4
Edit in Place in 1.1
Does anyone have a good example or know of some documentation about
how to implement "Edit in Place" using Rails 1.1? Like the
functionality in Flickr... I''ve googled and googled and can''t find any
good documentation. Maybe it''s because 1.1 is so new? Thanks in
advance.
-Andy
2009 Feb 05
1
[LLVMdev] Installations problems CLANG
Hi,
I was having a little trouble installing clang.... while llvm installs
properly but clang gives this error on invoking make in Clang
make[2]: Leaving directory
`/home/na2271/Desktop/llvm-2.3-x/tools/clang/lib/Headers'
make[2]: Entering directory
`/home/na2271/Desktop/llvm-2.3-x/tools/clang/lib/Basic'
llvm[2]: Compiling SourceManager.cpp for Release build
SourceManager.cpp: In member
2012 Nov 30
3
[LLVMdev] Support for bundles of MCInst?
Hello Owen,
> There should already be sufficient support for what you're trying to do.
See
> MCOperand::CreateInst(). The concept is that you'll build a composite
MCInst in
> your AsmPrinter::EmitInstruction() method, which uses Inst-type MCOperands
to
> hold a list of sub-instructions. Then you call
AsmStreamer::EmitInstruction() on the
> composite MCInst.
Thanks for
2018 Jul 10
6
[RISCV][PIC] Lowering pseudo instructions in MCCodeEmitter vs AsmPrinter
H all,
I'm looking at generating PIC code for RISC-V in the context of Linux. Not
sure if anyone is working on this already, any inputs are very welcome.
I'm now looking at function calls which in the RISCV backend are
represented via two pseudoinstructions RISCV::TAIL and RISCV::CALL.
Currently those pseudos are lowered in MCCodeEmitter. They are expanded
into AUIPC and JALR
2016 May 21
1
Using an MCStreamer Directly to produce an object file?
llvm-dev,
Thanks so much in advance for any help, tips, or advice you may be able
to offer me. I'm going to try to avoid the big-picture description of
the project I'm working on, and only talk about the parts that I have
trouble with / currently need to implement. -- I've been starting by
taking the source code from the "llvm-mc" tool, and working that down
into a
2011 Dec 06
2
[LLVMdev] [cfe-dev] LLVM & Clang file management
Sent from my iPhone
On Dec 5, 2011, at 9:04 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Hi Manuel,
>
> On Sun, Dec 4, 2011 at 9:06 AM, Manuel Klimek <klimek at google.com> wrote:
>> On Sat, Dec 3, 2011 at 10:33 PM, Douglas Gregor <dgregor at apple.com> wrote:
>>> Hi Manuel,
>>>
>>> On Nov 28, 2011, at 2:49 AM, Manuel Klimek
2012 Oct 16
2
[LLVMdev] R_ARM_ABS32 disassembly with integrated-as
Attached is an example of how to reproduce the issue. It uses a C
file that happens to has a bunch of switch statements which are
encoded as jump tables, giving us data-in-code. Usage:
To build object files with clang via the -integrated-as versus via GCC:
$ export NDK_DIR=<my_ndk_dir>
$ export LLVM_DIR=<my_llvm_bin_dir>
$ make
To test that the generated objects contain the same
2011 Dec 06
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
Hi Manuel,
On Sun, Dec 4, 2011 at 9:06 AM, Manuel Klimek <klimek at google.com> wrote:
> On Sat, Dec 3, 2011 at 10:33 PM, Douglas Gregor <dgregor at apple.com> wrote:
>> Hi Manuel,
>>
>> On Nov 28, 2011, at 2:49 AM, Manuel Klimek wrote:
>>
>>> Hi,
>>>
>>> while working on tooling on top of clang/llvm we found the file system
2011 Dec 04
5
[LLVMdev] [cfe-dev] LLVM & Clang file management
On Sat, Dec 3, 2011 at 10:33 PM, Douglas Gregor <dgregor at apple.com> wrote:
> Hi Manuel,
>
> On Nov 28, 2011, at 2:49 AM, Manuel Klimek wrote:
>
>> Hi,
>>
>> while working on tooling on top of clang/llvm we found the file system
>> abstractions in clang/llvm to be one of the points that could be nicer
>> to integrate with. I’m writing this mail to
2005 Oct 11
5
show message while loading - ajax
Hello,
Could anybody please tell me how I would show a message or an image while
the ajax request gets processed?
thank you in advance for your help.
this is what I came up with but it doesn''t really work:
function getHTML() {
var url = "./scripts/rfiles.php";
var par = "";
var myAjax = new Ajax.Updater("fm-viewdetails", url, {method:
2013 May 23
4
[LLVMdev] Usage of getenv() inside LLVM and thread safety
Hello,
In Rubinius we're seeing an occasional crash inside LLVM that always happens inside getenv(), which is used for example when creating a MCContext (inside lib/MC/MCContext.cpp, it checks getenv("AS_SECURE_LOG_FILE")).
The problem is that getenv() and friends aren't thread safe and Rubinius provides a multithreaded system. We can relatively easily get locking setup around
2011 Dec 06
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
On Tue, Dec 6, 2011 at 6:23 AM, Douglas Gregor <dgregor at apple.com> wrote:
>
>
> Sent from my iPhone
>
> On Dec 5, 2011, at 9:04 PM, Daniel Dunbar <daniel at zuster.org> wrote:
>
>> Hi Manuel,
>>
>> On Sun, Dec 4, 2011 at 9:06 AM, Manuel Klimek <klimek at google.com> wrote:
>>> On Sat, Dec 3, 2011 at 10:33 PM, Douglas Gregor
2013 Nov 12
3
[LLVMdev] Debug info: type uniquing for C++ and the status on building clang with "-flto -g"
On Tue, Nov 12, 2013 at 1:01 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Hi Manman,
>
> Thanks for sending this summary and progress plans - it's great to see the
> impact your changes have had and ideas for future direction.
>
> Type uniquing for C++ is in. Some data for Xalan with -flto -g:
>> 9.9MB raw dwarf size, peak memory usage at 2.8GB
>> The
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
Hello all,
For the hexagon target, we have a couple of tests that are failing due
to variations in the order of checked text. In these cases the ordering
is not directly relevant to the functionality being tested.
For example:
; CHECK: memw(##a)
; CHECK: memw(##b)
%0 = load i32* @a, align 4
%1 = load i32* @b, align 4
requires that the compiler emit the memory operations for
2010 Apr 27
5
[LLVMdev] PTX target for LLVM!
Hey everybody,
good news for everyone interested in the PTX backend:
We decided to release the current source code under the GPL - you can
find the latest tarball here:
http://www.prog.uni-saarland.de/projects/anysl
You will find the README in the attachment, which should hopefully
answer a lot of questions concerning the implementation and the current
status.
If you have further questions,