- Dec 08, 2011
-
-
Peter Collingbourne authored
between the casted type of the return value of a malloc/calloc/realloc call and the operand of any sizeof expressions contained within its argument(s). llvm-svn: 146144
-
Stepan Dyatkovskiy authored
Fix bug 9905: Failure in code selection for llvm intrinsics sqrt/exp (fix for FSQRT, FSIN, FCOS, FPOWI, FPOW, FLOG, FLOG2, FLOG10, FEXP, FEXP2). llvm-svn: 146143
-
Hal Finkel authored
llvm-svn: 146142
-
Greg Clayton authored
that is in a class from the expression parser, and it was causing an assertion. There is now a function that will correctly resolve a type even if it is in a class. llvm-svn: 146141
-
Rafael Espindola authored
that have it in /usr/include (only OS X Lion so far). llvm-svn: 146140
-
David Blaikie authored
llvm-svn: 146138
-
Hal Finkel authored
MTCTR needs to be glued to BCTR so that CTR is not marked dead in MTCTR (another find by -verify-machineinstrs) llvm-svn: 146137
-
Pete Cooper authored
llvm-svn: 146136
-
rdar://problem/10544202Greg Clayton authored
Fixed detection of AVX on darwin now that our kernel supports it. llvm-svn: 146135
-
Jim Ingham authored
<rdar://problem/10535460> lldb expression evaluation doesn't handle bit fields in ObjC classes properly llvm-svn: 146134
-
Sean Callanan authored
variables that might not have valid names. llvm-svn: 146133
-
Daniel Dunbar authored
stub SDK. - This allows us to build both the m32 and m64 variants without worrying about whether or not the user has the headers for the alternate arch installed. llvm-svn: 146132
-
Daniel Dunbar authored
the main compiler-rt and profile modules, at least on x86. llvm-svn: 146131
-
Greg Clayton authored
take a SymbolFile reference and a lldb::user_id_t and be used in objects which represent things in debug symbols that have types where we don't need to know the true type yet, such as in lldb_private::Variable objects. This allows us to defer resolving the type until something is used. More specifically this allows us to get 1000 local variables from the current function, and if the user types "frame variable argc", we end up _only_ resolving the type for "argc" and not for the 999 other local variables. We can expand the use of this as needed in the future. Modified the DWARFMappedHash class to be able to read the HashData that has more than just the DIE offset. It currently will read the atoms in the header definition and read the data correctly. Currently only the DIE offset and type flags are supported. This is needed for adding type flags to the .apple_types hash accelerator tables. Fixed a assertion crash that would happen if we have a variable that had a DW_AT_const_value instead of a location where "location.LocationContains_DW_OP_addr()" would end up asserting when it tried to parse the variable location as a DWARF opcode list. Decreased the amount of memory that LLDB would use when evaluating an expression by 3x - 4x for clang. There was a place in the namespace lookup code that was parsing all namespaces with a certain name in a DWARF file instead of stopping when it found the first match. This was causing all of the compile units with a matching namespace to get parsed into memory and causing unnecessary memory bloat. Improved "Target::EvaluateExpression(...)" to not try and find a variable when the expression contains characters that would certainly cause an expression to need to be evaluated by the debugger. llvm-svn: 146130
-
Sean Callanan authored
for now to fix testcases. Once we have a valid use for the function information (i.e., once properties returning UnknownAnyTy are allowed, once we read return type information from the runtime, among other uses) I will re-enable this. llvm-svn: 146129
-
Jason Molenda authored
class scoping in DumpDBGState()'s definiton. llvm-svn: 146128
-
Argyrios Kyrtzidis authored
if we come up against a null Decl. No test case unfortunately. rdar://10457799. llvm-svn: 146127
-
Greg Clayton authored
llvm-svn: 146126
-
Jim Grosbach authored
llvm-svn: 146125
-
Jakob Stoklund Olesen authored
It is not used any more. We are tracking inline assembly misalignments directly through the BBInfo.Unalign and KnownBits fields. A simple conservative size estimate is not good enough since it can cause alignment padding to be underestimated. llvm-svn: 146124
-
Jim Grosbach authored
llvm-svn: 146123
-
Bob Wilson authored
llvm-svn: 146122
-
Jakob Stoklund Olesen authored
llvm-svn: 146121
-
Jim Grosbach authored
llvm-svn: 146120
-
Jim Grosbach authored
llvm-svn: 146119
-
Jakob Stoklund Olesen authored
Compute alignment padding before and after basic blocks dynamically. Heed basic block alignment. This simplifies bookkeeping because we don't have to constantly add and remove padding from BBInfo.Size. It also makes it possible to track the extra known alignment bits we get after a tBR_JTr terminator and when entering an aligned basic block. This makes the ARMConstantIslandPass aware of aligned basic blocks. It is tricky to model block alignment correctly when dealing with inline assembly and tBR_JTr instructions that have variable size. If inline assembly turns out to be smaller than expected, that may cause following alignment padding to be larger than expected. This could cause constant pool entries to move out of range. To avoid that problem, we use the worst case alignment padding following inline assembly. This may cause slightly suboptimal constant island placement in aligned basic blocks following inline assembly. Normal functions should be unaffected. llvm-svn: 146118
-
Argyrios Kyrtzidis authored
now that client containers can be set via function calls. llvm-svn: 146117
-
Jim Grosbach authored
llvm-svn: 146116
-
Jim Grosbach authored
llvm-svn: 146115
-
Jim Grosbach authored
llvm-svn: 146114
-
Jim Grosbach authored
llvm-svn: 146113
-
Chad Rosier authored
Simplify code. llvm-svn: 146112
-
Jim Grosbach authored
llvm-svn: 146111
-
Nick Lewycky authored
Perhaps once(&func) should be hoisted into lib/Support. llvm-svn: 146110
-
Chad Rosier authored
llvm-svn: 146109
-
Peter Collingbourne authored
ExceptionDemo example. llvm-svn: 146108
-
Chad Rosier authored
llvm-svn: 146107
-
Jim Grosbach authored
For 'gas' compatibility. llvm-svn: 146106
-
Akira Hatanaka authored
RDHWR. llvm-svn: 146101
-
Akira Hatanaka authored
llvm-svn: 146100
-