- Sep 12, 2010
-
-
Caroline Tice authored
it with llvm::sys::Program::FindProgramByName. llvm-svn: 113709
-
Douglas Gregor authored
declarations in potentially-evaluated subexpressions, about recursion. Fixes the release-mode self-host failure I introduced in r113700. llvm-svn: 113708
-
Chris Lattner authored
an overview of mc and the idea of the code emission phase. llvm-svn: 113707
-
- Sep 11, 2010
-
-
Chris Lattner authored
Patch by John Regehr! llvm-svn: 113705
-
Francois Pichet authored
llvm-svn: 113704
-
Douglas Gregor authored
llvm-svn: 113703
-
Francois Pichet authored
llvm-svn: 113702
-
Douglas Gregor authored
initialization of static const floating-point data membmers (John's patch, in r113663). llvm-svn: 113701
-
Douglas Gregor authored
used in the default function argument as "used". Instead, when we actually use the default argument, make another pass over the expression to mark any used declarations as "used" at that point. This addresses two kinds of related problems: 1) We were marking some declarations "used" that shouldn't be, because we were marking them too eagerly. 2) We were failing to mark some declarations as "used" when we should, if the first time it was instantiated happened to be an unevaluated context, we wouldn't mark them again at a later point. I've also added a potentially-handy visitor class template EvaluatedExprVisitor, which only visits the potentially-evaluated subexpressions of an expression. I bet this would have been useful for noexcept... Fixes PR5810 and PR8127. llvm-svn: 113700
-
Douglas Gregor authored
llvm-svn: 113699
-
Douglas Gregor authored
preambles end up leaving the precompiled preambles around. This is by design, since we do minimal cleanup during crash recovery. However, it's unfortunate for testing, so introduce a hook that allows these two tests to put the precompiled preamble somewhere where we can delete them after testing. llvm-svn: 113698
-
Douglas Gregor authored
just abort creation of the precompiled preamble rather than doing silly things. This is the second part of the fix for the weird preamble-related failures on Windows. Big thanks to Francois Pichet for the great detective work! llvm-svn: 113697
-
Nuno Lopes authored
llvm-svn: 113696
-
Douglas Gregor authored
Windows GetTempPath() function, and be sure to create the directory in which the precompiled preamble will reside before creating the temporary file itself. llvm-svn: 113695
-
-
-
Rafael Espindola authored
llvm-svn: 113691
-
Chris Lattner authored
This fixes rdar://8408129 - pushfd and popfd get invalid instruction mnemonic errors llvm-svn: 113690
-
-
Chris Lattner authored
the end of the line on a parser error, allowing skipping to happen for syntactic errors but not for semantic errors. Before we would miss emitting a diagnostic about the second line, because we skipped it due to the semantic error on the first line: foo %eax bar %al This fixes rdar://8414033 - llvm-mc ignores lines after an invalid instruction mnemonic errors llvm-svn: 113688
-
Rafael Espindola authored
llvm-svn: 113687
-
Howard Hinnant authored
llvm-svn: 113686
-
Rafael Espindola authored
python's %r. llvm-svn: 113685
-
Howard Hinnant authored
llvm-svn: 113684
-
Anton Korobeynikov authored
Patch by Dimitry Andric! llvm-svn: 113683
-
Owen Anderson authored
This can result in increased opportunities for store narrowing in code generation. Update a number of tests for this change. This fixes <rdar://problem/8285027>. Additionally, because this inverts the order of ors and ands, some patterns for optimizing or-of-and-of-or no longer fire in instances where they did originally. Add a simple transform which recaptures most of these opportunities: if we have an or-of-constant-or and have failed to fold away the inner or, commute the order of the two ors, to give the non-constant or a chance for simplification instead. llvm-svn: 113679
-
Greg Clayton authored
They will now be represented as: eSymbolTypeFunction: eSymbolTypeCode with IsDebug() == true eSymbolTypeGlobal: eSymbolTypeData with IsDebug() == true and IsExternal() == true eSymbolTypeStatic: eSymbolTypeData with IsDebug() == true and IsExternal() == false This simplifies the logic when dealing with symbols and allows for symbols to be coalesced into a single symbol most of the time. Enabled the minimal symbol table for mach-o again after working out all the kinks. We now get nice concise symbol tables and debugging with DWARF in the .o files with a debug map in the binary works well again. There were issues where the SymbolFileDWARFDebugMap symbol file parser was using symbol IDs and symbol indexes interchangeably. Now that all those issues are resolved debugging is working nicely. llvm-svn: 113678
-
Michael J. Spencer authored
llvm-svn: 113677
-
Michael J. Spencer authored
llvm-svn: 113676
-
Fariborz Jahanian authored
information when imported variable is used more than once. Originally though to be a bug in importing block varibles. Fixes radar 8417746. llvm-svn: 113675
-
Jason Molenda authored
llvm-svn: 113674
-
Johnny Chen authored
llvm-svn: 113673
-
Johnny Chen authored
to specify a one-liner (either scripting or lldb command) inline. Refactored CommandObjectBreakpointCommandAdd::Execute() a little bit and added some comments. Sn now, we use: breakpoint command add -p 1 -o "conditional_break.stop_if_called_from_a()" to specify a Python one-liner as the callback for breakpoint #1. llvm-svn: 113672
-
Dale Johannesen authored
llvm-svn: 113671
-
Bill Wendling authored
llvm-svn: 113670
-
Jim Ingham authored
llvm-svn: 113669
-
Bill Wendling authored
llvm-svn: 113666
-
Bill Wendling authored
the 'zero' bit down into the back-end. There are other cases where this logic isn't sufficient, so they should be handled separately. llvm-svn: 113665
-
Sebastian Redl authored
llvm-svn: 113664
-
John McCall authored
llvm-svn: 113663
-