- Sep 16, 2011
-
-
Owen Anderson authored
Don't attach annotations to MCInst's. Instead, have the disassembler return, and the printer accept, an annotation string which can be passed through if the client cares about annotations. llvm-svn: 139876
-
- Sep 15, 2011
-
-
Owen Anderson authored
The the MC disassembler C API to print in verbose mode. Perhaps there should be a parameter to request verbose mode? llvm-svn: 139821
-
Owen Anderson authored
Add support for stored annotations to MCInst, and provide facilities for MC-based InstPrinters to print them out. Enhance the ARM and X86 InstPrinter's to do so in verbose mode. llvm-svn: 139820
-
Jim Grosbach authored
Assembler private local symbols aren't legal targets of symbol attributes, so issue a diagnostic for them. Based on patch by Stepan Dyatkovskiy. llvm-svn: 139807
-
Jim Grosbach authored
If we see an EOF w/o a preceding end-of-line, return an EndOfStatement token before returning the Eof token. Based on patch by Stepan Dyatkovskiy. llvm-svn: 139798
-
- Sep 14, 2011
-
-
Jim Grosbach authored
llvm-svn: 139697
-
Kevin Enderby authored
#line directives with the needed support in the lexer. Next will be to build a simple file/line# table mapping source SMLoc's for later use by diagnostics. And the last step will be to get the diagnostics to use the mapping for file and line numbers. llvm-svn: 139669
-
- Sep 09, 2011
-
-
Eric Christopher authored
llvm-svn: 139325
-
- Sep 08, 2011
-
-
Kevin Enderby authored
without a base symbol that must not have a relocation entry. llvm-svn: 139316
-
- Sep 07, 2011
-
-
James Molloy authored
Refactor instprinter and mcdisassembler to take a SubtargetInfo. Add -mattr= handling to llvm-mc. Reviewed by Owen Anderson. llvm-svn: 139237
-
- Sep 06, 2011
-
-
Bill Wendling authored
llvm-svn: 139152
-
- Sep 02, 2011
-
-
Duncan Sands authored
llvm-svn: 139015
-
Benjamin Kramer authored
- On COFF the .lcomm directive has an alignment argument. - On ELF we fall back to .local + .comm Based on a patch by NAKAMURA Takumi. Fixes PR9337, PR9483 and PR10128. llvm-svn: 138976
-
James Molloy authored
Fix apparent build error caused by r138948 on certain versions of GCC with -Werror. Sorry for the inconvenience. llvm-svn: 138973
-
- Sep 01, 2011
-
-
Nick Lewycky authored
Remove broken emacs mode major notation marking a C++ file as C. No functionality change. llvm-svn: 138963
-
James Molloy authored
llvm-svn: 138948
-
- Aug 30, 2011
-
-
Jeffrey Yasskin authored
In the case of EDInstInfo, this would actually cause a bug when -1 became 255 and was then compared >=0 in llvm-mc/Disassembler.cpp. llvm-svn: 138825
-
- Aug 29, 2011
-
-
Bill Wendling authored
llvm-svn: 138764
-
Bill Wendling authored
llvm-svn: 138752
-
- Aug 25, 2011
-
-
Benjamin Kramer authored
llvm-svn: 138548
-
Evan Cheng authored
.cfi_startproc. e.g. libffi: $ cat confopt.c asm (".cfi_startproc\n\t.cfi_endproc"); int main () { return 0; } Teach MC / dwarf emission to handle these cfi directives which essentially create an empty frame. rdar://10017184 llvm-svn: 138504
-
- Aug 24, 2011
-
-
Evan Cheng authored
These are strictly utilities for registering targets and components. llvm-svn: 138450
-
- Aug 20, 2011
-
-
Jim Grosbach authored
rdar://9976729 llvm-svn: 138208
-
- Aug 19, 2011
-
-
Sean Callanan authored
MCParsedAsmOperand objects were being leaked. llvm-svn: 138053
-
- Aug 16, 2011
-
-
Jim Grosbach authored
The argument is unused, and is a layering violation in any case. llvm-svn: 137735
-
- Aug 12, 2011
-
-
Benjamin Kramer authored
MachOWriter: Don't crash on fixups with arithmetic, emit a relocation instead. This matches what as does. llvm-svn: 137414
-
- Aug 10, 2011
-
-
Jim Grosbach authored
Assigned symbol addresses get truncated to 32-bits, even on 64-bit platforms. That's obviously bogus. For example, .globl _foo .equ _foo, 0x987654321ULL rdar://9922863 llvm-svn: 137158
-
- Aug 08, 2011
-
-
Benjamin Kramer authored
llvm-svn: 137060
-
Benjamin Kramer authored
Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions. - Add overrides for ARM. - Teach llvm-objdump to use this instead of plain MCInstrDesc. llvm-svn: 137059
-
- Aug 04, 2011
-
-
Chris Lattner authored
llvm-svn: 136908
-
Roman Divacky authored
This is meant to be overriden by backends. Implement an override on PowerPC which adjusts the offset by 2 for ha16/lo16 relocation kinds. This removes a commented out hack and enables hello world to be compiled on PowerPC. llvm-svn: 136905
-
Rafael Espindola authored
llvm-svn: 136868
-
http://llvm.org/bugs/show_bug.cgi?id=10568Jason W Kim authored
Move the reloc size assert into AsmBackend - where it is more apropos. llvm-svn: 136855
-
- Aug 02, 2011
-
-
Rafael Espindola authored
externally visable, create a local symbol to use in the CFE. If not, use the function label itself. Fixes PR10420. llvm-svn: 136716
-
Roman Divacky authored
This unbreaks some tests. llvm-svn: 136692
-
Roman Divacky authored
to compile a working hello world on FreeBSD/PPC32. llvm-svn: 136689
-
- Aug 01, 2011
-
-
Chandler Carruth authored
them properly. Specifically, the disassembler clearly attempts to initialiaze all TargetInfo, MCTargeDesc, AsmParser, and Disassembler sublibraries of registered targets. This makes the CMakeLists accurately reflect this intent in the code. This should fix the last of the link errors that I have gotten reports of on OS X, but if anyone continues to see link errors, continue to pester me and I'll look into it. llvm-svn: 136603
-
- Jul 29, 2011
-
-
Chandler Carruth authored
for targets that don't have an MC-ized disassembler. I'm suspicious that this shouldn't actually be happening, but hoping to fix the CMake build on macs first, and investigate why second. llvm-svn: 136508
-
Chandler Carruth authored
First off, only depend on the actual MC-ized disassemblers in the targets, not all of the libraries those in turn depend on. Second off, only depend on those MC-ized disassemblers for targets we're building. This should fix builds of fewer than all targets. llvm-svn: 136455
-
Chandler Carruth authored
specified in the same file that the library itself is created. This is more idiomatic for CMake builds, and also allows us to correctly specify dependencies that are missed due to bugs in the GenLibDeps perl script, or change from compiler to compiler. On Linux, this returns CMake to a place where it can relably rebuild several targets of LLVM. I have tried not to change the dependencies from the ones in the current auto-generated file. The only places I've really diverged are in places where I was seeing link failures, and added a dependency. The goal of this patch is not to start changing the dependencies, merely to move them into the correct location, and an explicit form that we can control and change when necessary. This also removes a serialization point in the build because we don't have to scan all the libraries before we begin building various tools. We no longer have a step of the build that regenerates a file inside the source tree. A few other associated cleanups fall out of this. This isn't really finished yet though. After talking to dgregor he urged switching to a single CMake macro to construct libraries with both sources and dependencies in the arguments. Migrating from the two macros to that style will be a follow-up patch. Also, llvm-config is still generated with GenLibDeps.pl, which means it still has slightly buggy dependencies. The internal CMake 'llvm-config-like' macro uses the correct explicitly specified dependencies however. A future patch will switch llvm-config generation (when using CMake) to be based on these deps as well. This may well break Windows. I'm getting a machine set up now to dig into any failures there. If anyone can chime in with problems they see or ideas of how to solve them for Windows, much appreciated. llvm-svn: 136433
-