- 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
-
- Jul 27, 2011
-
-
Evan Cheng authored
llvm-svn: 136197
-
- Jul 26, 2011
-
-
Evan Cheng authored
llvm-svn: 136145
-
Evan Cheng authored
Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. llvm-svn: 136027
-
Evan Cheng authored
llvm-svn: 136012
-
Evan Cheng authored
llvm-svn: 136010
-
- Jul 25, 2011
-
-
Chandler Carruth authored
assert-path code, as previously we would have fallen off the end of the function, but please review and let me know if this should go somewhere else. This fixes a Clang warning: lib/MC/MCMachOStreamer.cpp:201:11: error: enumeration value 'MCSA_IndirectSymbol' not handled in switch [-Werror,-Wswitch-enum] switch (Attribute) { ^ 1 error generated. llvm-svn: 135976
-
Evan Cheng authored
llvm-svn: 135974
-
Evan Cheng authored
llvm-svn: 135963
-
Evan Cheng authored
llvm-svn: 135930
-
Jim Grosbach authored
The .local, .hidden, .internal, and .protected are not legal for all supported file formats (in particular, they're invalid for MachO). Move the parsing for them into the ELF assembly parser since that's the format they're for. Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing to the COFF and ELF asm parsers. Previously, using any of these directives on Darwin would result in an assertion failure in the parser; now we get a diagnostic as we should. rdar://9827089 llvm-svn: 135921
-
Jim Grosbach authored
llvm-svn: 135917
-
- Jul 23, 2011
-
-
Evan Cheng authored
llvm-svn: 135833
-
Evan Cheng authored
llvm-svn: 135825
-
- Jul 22, 2011
-
-
Evan Cheng authored
InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC. llvm-svn: 135812
-