- Jul 29, 2011
-
-
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 28, 2011
-
-
Devang Patel authored
llvm-svn: 136275
-
- Jul 27, 2011
-
-
Devang Patel authored
It is quiet possible that inlined function body is split into multiple chunks of consequtive instructions. But, there is not any way to describe this in .debug_inline accelerator table used by gdb. However, describe non contiguous ranges of inlined function body appropriately using AT_range of DW_TAG_inlined_subroutine debug info entry. llvm-svn: 136196
-
- Jul 26, 2011
-
-
Devang Patel authored
While extracting lexical scopes from machine instruction stream, work on one machine basic block at a time. llvm-svn: 136106
-
Evan Cheng authored
Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. llvm-svn: 136027
-
- Jul 23, 2011
-
-
Evan Cheng authored
llvm-svn: 135833
-
- Jul 21, 2011
-
-
Devang Patel authored
llvm-svn: 135633
-
Devang Patel authored
There are two ways to map a variable to its lexical scope. Lexical scope information is embedded in MDNode describing the variable. It is also available as a part of DebugLoc attached with DBG_VALUE instruction. DebugLoc attached with an instruction is less reliable in optimized code so use information embedded in the MDNode. llvm-svn: 135629
-
- Jul 20, 2011
-
-
Devang Patel authored
While emitting constant value, look through derived type and use underlying basic type to determine size and signness of the constant value. llvm-svn: 135627
-
Evan Cheng authored
There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. llvm-svn: 135611
-
Evan Cheng authored
TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! llvm-svn: 135569
-
Devang Patel authored
llvm-svn: 135528
-
- Jul 19, 2011
-
-
Jay Foad authored
llvm-svn: 135478
-
Bill Wendling authored
llvm-svn: 135450
-
Evan Cheng authored
better location welcome). llvm-svn: 135438
-
- Jul 18, 2011
-
-
Chris Lattner authored
llvm-svn: 135375
-
- Jul 15, 2011
-
-
Devang Patel authored
llvm-svn: 135302
-
Devang Patel authored
llvm-svn: 135278
-
Evan Cheng authored
llvm-svn: 135254
-
Devang Patel authored
llvm-svn: 135232
-
Devang Patel authored
llvm-svn: 135212
-
Devang Patel authored
Improve DbgScope->dump() output. llvm-svn: 135207
-
- Jul 14, 2011
-
-
Devang Patel authored
llvm-svn: 135127
-
Devang Patel authored
llvm-svn: 135124
-
Devang Patel authored
llvm-svn: 135118
-
Devang Patel authored
llvm-svn: 135111
-
Devang Patel authored
llvm-svn: 135110
-
- Jul 09, 2011
-
-
Evan Cheng authored
CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. llvm-svn: 134795
-
- Jul 08, 2011
-
-
Devang Patel authored
llvm-svn: 134703
-
Devang Patel authored
llvm-svn: 134702
-
Evan Cheng authored
- Each target asm parser now creates its own MCSubtatgetInfo (if needed). - Changed AssemblerPredicate to take subtarget features which tablegen uses to generate asm matcher subtarget feature queries. e.g. "ModeThumb,FeatureThumb2" is translated to "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0". llvm-svn: 134678
-
- Jul 07, 2011
-
-
Devang Patel authored
llvm-svn: 134643
-
Devang Patel authored
llvm-svn: 134572
-
Devang Patel authored
llvm-svn: 134561
-
- Jun 24, 2011
-
-
Devang Patel authored
llvm-svn: 133821
-
- Jun 22, 2011
-
-
Nick Lewycky authored
is larger than the sum of the elements (including per-element padding). llvm-svn: 133631
-
Bill Wendling authored
llvm-svn: 133561
-
Bill Wendling authored
explanation of what the EH table describes. llvm-svn: 133559
-
- Jun 19, 2011
-
-
Jay Foad authored
const Constant *. llvm-svn: 133400
-
- Jun 15, 2011
-
-
Rafael Espindola authored
llvm-svn: 133083
-