search for: armasmparser

Displaying 20 results from an estimated 28 matches for "armasmparser".

2010 May 05
0
[LLVMdev] Is the option --enable-shared discontinued in 2.7?
...uild/2.7/llvm-objects/lib/CodeGen' gmake[1]: Leaving directory `/tmp/llvm-build/2.7/llvm-objects/lib' gmake[1]: Entering directory `/tmp/llvm-build/2.7/llvm-objects/tools/llvm-shlib' llvm[1]: Linking Release Shared Library LLVM-2.7.so /tmp/llvm-build/2.7/llvm-objects/Release/lib/libLLVMARMAsmParser.a(ARMAsmParser.o)(.text+0x135): In function `(anonymous namespace)::ARMAsmParser::ParseDirective(llvm::AsmToken)': : undefined reference to `__assert' /tmp/llvm-build/2.7/llvm-objects/Release/lib/libLLVMARMAsmParser.a(ARMAsmParser.o)(.text+0x3e3): In function `(anonymous namespace)::ARM...
2010 May 04
3
[LLVMdev] Is the option --enable-shared discontinued in 2.7?
On Thu, Apr 29, 2010 at 6:31 PM, Jeffrey Yasskin <jyasskin at google.com> wrote: > On Wed, Apr 28, 2010 at 10:48 AM, Yuri <yuri at tsoft.com> wrote: >> Jeffrey Yasskin wrote: >>> >>> We currently use two different techniques to get whole libraries >>> included into the .so. On Linux (gnu ld and gold), we pass >>> --whole-archive, while on
2011 Mar 14
3
[LLVMdev] Warning in LLVM
When compiling LLVM on my Intel(R) Core(TM)2 Duo CPU P7450 running Ubuntu (gcc 4.4.5), I get this warning: /home/rengolin/workspace/llvm/rw/build/Release+Asserts/lib/libLLVMARMAsmParser.a(ARMAsmParser.o): In function `(anonymous namespace)::ARMAsmParser::ParseRegisterList(llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&)': ARMAsmParser.cpp:(.text+0x4a05): warning: memset used with constant zero length parameter; this could be due to transposed parameters Couldn'...
2010 May 05
2
[LLVMdev] Is the option --enable-shared discontinued in 2.7?
...b/CodeGen' > gmake[1]: Leaving directory `/tmp/llvm-build/2.7/llvm-objects/lib' > gmake[1]: Entering directory > `/tmp/llvm-build/2.7/llvm-objects/tools/llvm-shlib' > llvm[1]: Linking Release Shared Library LLVM-2.7.so > /tmp/llvm-build/2.7/llvm-objects/Release/lib/libLLVMARMAsmParser.a(ARMAsmParser.o)(.text+0x135): > In function `(anonymous > namespace)::ARMAsmParser::ParseDirective(llvm::AsmToken)': > : undefined reference to `__assert' > /tmp/llvm-build/2.7/llvm-objects/Release/lib/libLLVMARMAsmParser.a(ARMAsmParser.o)(.text+0x3e3): > In function `(anon...
2011 Feb 28
1
[LLVMdev] gcc running out of memory on ARMAsmParser.cpp
Hi, I tried to compile LLVM on an Amazon EC2 Linux instance that doesn't have a ton of memory (~600 MB). It keeps failing with: llvm[4]: Compiling ARMAsmParser.cpp for Release build g++: Internal error: Killed (program cc1plus) It's getting killed for using all the system memory. Is this file known to trigger any bugs in gcc? (version 4.1.2) Here is /var/log/messages: Feb 28 13:33:54 ip-10-195-190-127 klogd: [232896.775450] Out of memory: kill...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp | 12 +- lib/MC/MCParser/AsmParser.cpp | 573 +--------------------- lib/MC/MCParser/CMakeLists.txt | 2 +- lib/MC/MCParser/MachOAsmParser.cpp | 630 ++++++++++++++++++++++++ lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 186 ++++---- lib/Target/X86/AsmParser/X86AsmParser.cpp | 293 +++++++---- tools/edis/EDDisassembler.cpp | 12 +- tools/llvm-mc/llvm-mc.cpp | 10 +- 11 files changed, 1037 insertions(+), 810 deletions(-) create mode 100644 include/llvm/MC...
2011 May 17
0
[LLVMdev] [Patch] Let MC/ELF generate Thumb/Thumb-2 are properly
...rted to a llvm-mc (.s -> .o) test? That > would make it a lot more resistant to changes in codegen. > > Same for elf-xscale-attribute.ll (or maybe this one should be a .ll -> .s?). > Thanks for the review and checkin. Regarding elf-thumbfunc-reloc.ll, it seems to me that current ARMAsmParser doesn't recognize "(PLT)", so something like "bl foo(PLT)" doesn't work consequently. And I don't know how to write .s to test this without (PLT). Regarding elf-xscale-attribute.ll, those attributes are for ".eabi_attribute" lines in .s files and attribut...
2011 May 17
2
[LLVMdev] [Patch] Let MC/ELF generate Thumb/Thumb-2 are properly
> Thanks for the review and checkin. Thanks for the patch! > Regarding elf-thumbfunc-reloc.ll, it seems to me that current ARMAsmParser > doesn't recognize "(PLT)", so something like "bl foo(PLT)" doesn't work > consequently. And I don't know how to write .s to test this without (PLT). NP. Can you just add that as a FIXME in elf-thumbfunc-reloc.ll? That way we know why it is there and can po...
2011 May 16
2
[LLVMdev] [Patch] Let MC/ELF generate Thumb/Thumb-2 are properly
On 11-05-16 09:21 AM, Koan-Sin Tan wrote: > splited patches and test cases > > mc-elf-thumbfunction-bit.diff: for 1 > mc-elf-arm-backend-bl-blx-sign-bit.diff: for 2. > mc-elf-thumb-bl-blx-relocation-table-entry.diff: for 3. > mc-elf-cpu-xscale-attributes.diff: for 4. > > elf-thumbfunc.s: test case for 1 > elf-thumbfunc-reloc.ll: test case for 2 and 3 >
2011 Mar 15
0
[LLVMdev] Warning in LLVM
Hi Renato, > When compiling LLVM on my Intel(R) Core(TM)2 Duo CPU P7450 running > Ubuntu (gcc 4.4.5), I get this warning: > > /home/rengolin/workspace/llvm/rw/build/Release+Asserts/lib/libLLVMARMAsmParser.a(ARMAsmParser.o): > In function `(anonymous > namespace)::ARMAsmParser::ParseRegisterList(llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&)': > ARMAsmParser.cpp:(.text+0x4a05): warning: memset used with constant > zero length parameter; this could be due to transposed pa...
2014 Jun 24
2
[LLVMdev] Linking/archiving bitcodes with module asm
Hello, I'm archiving a number of bitcode files via gold plugin based on LLVM 3.4. When I find a thumbv7 bitcode with a couple of module asms, I get a segfault in ARMAsmParser::parseDirectiveFnStart because getTargetStreamer returns NULL. Frankly, I don't see how this is supposed to work because as far as I understood LTOModule::addAsmGlobalSymbols only creates a RecordStreamer which is then attached to the MCTargetAsmParser, and no TargetStreamer is ever create...
2010 Jul 26
2
[LLVMdev] LLVM Dependency Graph
...ox,style=filled,color=olivedrab1]; Archive [shape=box,style=filled,color=olivedrab1]; Analysis [shape=box,style=filled,color=olivedrab1]; ARMInfo [shape=box,style=filled,color=olivedrab1]; ARMCodeGen [shape=box,style=filled,color=olivedrab1]; ARMAsmPrinter [shape=box,style=filled,color=olivedrab1]; ARMAsmParser [shape=box,style=filled,color=olivedrab1]; subgraph clusterARM { ARMAsmParser; ARMAsmPrinter; ARMInfo; ARMCodeGen; } subgraph clusterX86 { X86AsmParser; X86AsmPrinter; X86Info; X86CodeGen; } ARMAsmParser -> ARMInfo ARMAsmParser -> MCParser //ARMAsmParser -> Support ARMAsmPrinter ->...
2017 Mar 13
2
[RFC] improvements to LLVM diagnostic infrastructure
...e diagnostics themselves will be defined in TableGen (just like in clang). Currently, diagnostics are passed through a SourceMgr to get location info and then passed on to a diagnostics handler for printing (if it exists). This is usually wrapped in Warning() and Error() functions. For example in ARMAsmParser.cpp: Error(ImmLoc, "invalid immediate shift value"); which eventually calls SourceMgr::PrintMessage. This would change to (incrementally throughout the code-base) : Diag(ImmLoc, err_arm_invalid_immediate_shift); and pass through LLVMDiagnosticsEngine to get the diagnostic...
2011 May 18
0
[LLVMdev] [Patch] Let MC/ELF generate Thumb/Thumb-2 are properly
On Wed, May 18, 2011 at 12:05 AM, Rafael Avila de Espindola <rafael.espindola at gmail.com> wrote: >> Regarding elf-thumbfunc-reloc.ll, it seems to me that current ARMAsmParser >> doesn't recognize "(PLT)", so something like  "bl foo(PLT)" doesn't work >> consequently. And I don't know how to write .s to test this without (PLT). > > NP. Can you just add that as a FIXME in elf-thumbfunc-reloc.ll? That way we > know why i...
2011 Nov 09
2
[LLVMdev] [cfe-dev] LLVM 3.0rc3 Testing Beginning
...n member function ‘llvm::SDNode* {anonymous}::ARMDAGToDAGISel::SelectABSOp(llvm::SDNode*)’: /home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:2319:12: warning: variable ‘DL’ set but not used [-Wunused-but-set-variable] /home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp: In member function ‘bool {anonymous}::ARMAsmParser::tryParseRegisterWithWriteBack(llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&)’: /home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp:1979:11: warning: variable ‘ExprLoc’ set but not used [-Wunused-but-set-...
2011 Nov 08
0
[LLVMdev] [cfe-dev] LLVM 3.0rc3 Testing Beginning
On 7 November 2011 22:00, Bill Wendling <wendling at apple.com> wrote: > We are starting on our third (and hopefully last) round of testing for LLVM 3.0. Please visit: > >        http://llvm.org/pre-releases/3.0/rc3/ > > for the sources. There are also binaries for Darwin up there, with more to come during the week. Please build this release candidate, test it out on your
2013 Oct 02
1
[LLVMdev] [TableGen][AsmParser][MC] isAsmParserOnly flag in class Instruction
Hi Jim, I did look at the ARMAsmParser and it seems to me that it is using a switch/case construct to change the opcode and the operands, but this construct may become too large eventually. I was wondering if it is possible to use isAsmParser only flag to call dedicated methods, like dedicated parsers for AsmOperands. Regards Vladimir...
2011 Nov 07
6
[LLVMdev] LLVM 3.0rc3 Testing Beginning
Good day, LLVMers! We are starting on our third (and hopefully last) round of testing for LLVM 3.0. Please visit: http://llvm.org/pre-releases/3.0/rc3/ for the sources. There are also binaries for Darwin up there, with more to come during the week. Please build this release candidate, test it out on your projects, and let us know if you find any regressions from the 2.9 release. Please keep
2013 Dec 17
0
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
...al label prefix. + ConstantPoolMapTy::iterator Cp = ConstantPools.find(Section); Minor detail in various places in the code. Acronyms should be capitalized, so “CP” instead of “Cp”. Even better would be spelled out names if they’re short enough to make sense in the context of the code. +void ARMAsmParser::finishParse() { + for (ConstantPoolMapTy::iterator CpI = ConstantPools.begin(), CpE = ConstantPools.end(); CpI != CpE; ++CpI) { + const MCSection *Section = CpI->first; + ConstantPool &CP = CpI->second; + MCStreamer &Streamer = getParser().getStreamer(); + Streamer.Switc...
2013 Nov 16
2
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
Moving discussion to llvm-commits now that I have a more developed implementation: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131111/195401. html > -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On > Behalf Of David Peixotto > Sent: Tuesday, November 12, 2013 11:09 AM > To: 'Amara Emerson' >