- Sep 07, 2010
-
-
Johnny Chen authored
after the recent checkin. llvm-svn: 113206
-
Howard Hinnant authored
has_trivial_default_constructor hooked up to clang. Filed http://llvm.org/bugs/show_bug.cgi?id=8097 to take care of void and arrays of incomplete types which don't work yet. If there is some reasons we don't want to handle these types in the compiler, I can handle them in the library. llvm-svn: 113205
-
Douglas Gregor authored
inline" function outside of GNU89 mode. Fixes <rdar://problem/6880464>. llvm-svn: 113204
-
Douglas Gregor authored
the end of a statement. Fixes <rdar://problem/6896493>. llvm-svn: 113202
-
Douglas Gregor authored
enumeration definition. Fixes <rdar://problem/7159693>. llvm-svn: 113201
-
Benjamin Kramer authored
llvm-svn: 113200
-
Douglas Gregor authored
member initializers in a C++ constructor. Fixes <rdar://problem/7796492>. llvm-svn: 113199
-
Chris Lattner authored
llvm-svn: 113198
-
Gabor Greif authored
llvm-svn: 113197
-
Nick Lewycky authored
teach LazyValueInfo to use them. llvm-svn: 113196
-
Greg Clayton authored
parent, sibling and first child block, and access to the inline function information. Added an accessor the StackFrame: Block * lldb_private::StackFrame::GetFrameBlock(); LLDB represents inline functions as lexical blocks that have inlined function information in them. The function above allows us to easily get the top most lexical block that defines a stack frame. When there are no inline functions in function, the block returned ends up being the top most block for the function. When the PC is in an inlined funciton for a frame, this will return the first parent block that has inlined function information. The other accessor: StackFrame::GetBlock() will return the deepest block that matches the frame's PC value. Since most debuggers want to display all variables in the current frame, the Block returned by StackFrame::GetFrameBlock can be used to retrieve all variables for the current frame. Fixed the lldb_private::Block::DumpStopContext(...) to properly display inline frames a block should display all of its inlined functions. Prior to this fix, one of the call sites was being skipped. This is a separate code path from the current default where inlined functions get their own frames. Fixed an issue where a block would always grab variables for any child inline function blocks. llvm-svn: 113195
-
Nick Lewycky authored
Switch from isWeakForLinker to mayBeOverridden which is more accurate. Add more statistics and debugging info. Add comments. Move static function outside anonymous namespace. llvm-svn: 113190
-
-
Chris Lattner authored
llvm-svn: 113188
-
Nick Lewycky authored
Fix zeroExtend and signExtend to support empty sets, and to return the smallest possible result set which contains the extension of each element in their inputs. For example zext i8 [100, 10) to i16 is now [0, 256), not i16 [100, 10) which contains 63446 members. llvm-svn: 113187
-
Chris Lattner authored
always be disambiguated as sldtw. sldtw and sldtq with a mem operands have the same effect, but sldtw is more compact. Force it to sldtw, resolving rdar://8017530 llvm-svn: 113186
-
Benjamin Kramer authored
llvm-svn: 113185
-
-
Chris Lattner authored
is busted for all variants, report it as the location. This allows us to get the operand right for bugs like: t.s:3:12: error: invalid operand for instruction outb %al, %gs ^ Even though there are reg/imm and reg/reg forms of this instruction. llvm-svn: 113183
-
Chris Lattner authored
allowing unsigned 8-bit operands. This fixes rdar://8208481 llvm-svn: 113182
-
Greg Clayton authored
Fixed an error that could occur during disassembly that could cause a function name to be printed before the first _and_ the second instruction of disassembly when there are two symbols -- one debug symbol and one linker symbol. llvm-svn: 113181
-
Greg Clayton authored
Fixed a buffer overrun error that could occur every time the program was run due to a "sprintf" with a destination string that was too short. llvm-svn: 113180
-
Greg Clayton authored
Fixed an error where a random string would get executed after a recent fix that checked if the window column size was zero was added on the lldb driver startup. llvm-svn: 113179
-
Chris Lattner authored
of a mneumonic, report operand errors with better location info. For example, we now report: t.s:6:14: error: invalid operand for instruction cwtl $1 ^ but we fail for common cases like: t.s:11:4: error: invalid operand for instruction addl $1, $1 ^ because we don't know if this is supposed to be the reg/imm or imm/reg form. llvm-svn: 113178
-
Chris Lattner authored
llvm-svn: 113177
-
- Sep 06, 2010
-
-
Chris Lattner authored
give a more detailed error. Before: t.s:11:4: error: unrecognized instruction addl $1, $1 ^ t.s:12:4: error: unrecognized instruction f2efqefa $1 ^ After: t.s:11:4: error: invalid operand for instruction addl $1, $1 ^ t.s:12:4: error: invalid instruction mnemonic 'f2efqefa' f2efqefa $1 ^ This fixes rdar://8017912 - llvm-mc says "unrecognized instruction" when it means "invalid operands" llvm-svn: 113176
-
Chris Lattner authored
llvm-svn: 113174
-
Chris Lattner authored
llvm-svn: 113173
-
Chris Lattner authored
llvm-svn: 113172
-
Chris Lattner authored
by doing a binary search over the mnemonic instead of doing a linear search through all possible instructions. This implements rdar://7785064 llvm-svn: 113171
-
Chris Lattner authored
MatchInstructionImpl. This makes it easier to read/understand MatchInstructionImpl. llvm-svn: 113170
-
Chris Lattner authored
generated matcher, emiting it as a column in the MatchEntry table instead of forcing it to go through classification and everything else. Making it be classified caused tblgen to produce a ton of one-off classes for each mneumonic. This should reduce the size of the generated matcher significantly while paving the way for future improvements. llvm-svn: 113169
-
Chris Lattner authored
so only do the N^2 loop with debug mode. llvm-svn: 113168
-
Chris Lattner authored
llvm-svn: 113167
-
Chris Lattner authored
failed because a subtarget feature was not enabled. Use this to remove a bunch of hacks from the X86AsmParser for rejecting things like popfl in 64-bit mode. Previously these hacks weren't needed, but were important to get a message better than "invalid instruction" when used in the wrong mode. This also fixes bugs where pushal would not be rejected correctly in 32-bit mode (just pusha). llvm-svn: 113166
-
Chris Lattner authored
llvm-svn: 113165
-
Chris Lattner authored
llvm-svn: 113164
-
Chris Lattner authored
into the middle of the class, and rework how the different sections of the generated file are conditionally included for simplicity. llvm-svn: 113163
-
Howard Hinnant authored
Working the type_traits area: Hooked up to clang's __is_union. Got has_trivial_copy_assign working. llvm-svn: 113162
-
Argyrios Kyrtzidis authored
Fix a C++ PCH problem which was exposed by r113019. CXXBaseOrMemberInitializer's IsWritten and source order is not set. llvm-svn: 113161
-