- Oct 19, 2010
-
-
Evan Cheng authored
erased the instruction during LICM so UpdateRegPressureAfter() should not reference it afterwards. llvm-svn: 116845
-
Johnny Chen authored
llvm-svn: 116844
-
John McCall authored
Fixes rdar://problem/8568507 llvm-svn: 116843
-
Ted Kremenek authored
Simplify lifetime management of MacroInfo objects in Preprocessor by having the Preprocessor maintain them in a linked list of allocated MacroInfos. This requires only 1 extra pointer per MacroInfo object, and allows us to blow them away in one place. This fixes an elusive memory leak with MacroInfos (whose exact location I couldn't still figure out despite substantial digging). Fixes <rdar://problem/8361834>. llvm-svn: 116842
-
Greg Clayton authored
We now spawn a thread to accept a unix socket connection from the inferior when it spawns in the terminal, then we launch the process, then we get the pid back through the unix socket, and then wait for it to SIGSTOP. darwin-debug now clears the terminal screen and prints out the program and arguments that are about to be launched. llvm-svn: 116841
-
Dan Gohman authored
use uint64_t. llvm-svn: 116839
-
Argyrios Kyrtzidis authored
llvm-svn: 116838
-
Argyrios Kyrtzidis authored
Minor optimization; if we have a CXXRecordDecl we can get the definition decl directly without iterating over the redeclarations. llvm-svn: 116837
-
Argyrios Kyrtzidis authored
llvm-svn: 116836
-
Douglas Gregor authored
llvm-svn: 116835
-
Michael J. Spencer authored
llvm-svn: 116834
-
Michael J. Spencer authored
llvm-svn: 116833
-
Owen Anderson authored
llvm-svn: 116832
-
Dan Gohman authored
for representing object sizes, for consistency with other parts of LLVM. llvm-svn: 116831
-
Ted Kremenek authored
In ~Preprocessor(), also cleanup the MacroInfo objects left-over from stray "#pragma push_macro" uses. This fixes a potential memory leak. llvm-svn: 116826
-
Ted Kremenek authored
llvm-svn: 116825
-
Jason W Kim authored
The failures in r116753 r116756 were caused by a python issue - Python likes to append 'L' suffix to stringified numbers if the number is larger than a machine int. Unfortunately, this causes a divergence of behavior between 32 and 64 bit python versions. I re-crafted elf-dump/common_dump to take care of these issues by: 1. always printing 0x (makes for easy sed/regex) 2. always print fixed length (exactly 2 + numBits/4 digits long) by mod ((2^numBits) - 1) 3. left-padded with '0' There is a residual common routine that is also used by macho-dump (dataToHex) , so I left the 'section_data' test values alone. llvm-svn: 116823
-
Johnny Chen authored
It's an in-progress snapshot, and not complete. llvm-svn: 116822
-
Owen Anderson authored
Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820
-
Fariborz Jahanian authored
PR6056, //rdar: //8564463 llvm-svn: 116819
-
Douglas Gregor authored
within a default argument), recurse into default arguments. Fixes PR8401, a regression I introduced in r113700 while refactoring our handling of "used" declarations in default arguments. llvm-svn: 116817
-
Daniel Dunbar authored
is", which breaks some nightly tests. llvm-svn: 116816
-
Dan Gohman authored
llvm-svn: 116815
-
Greg Clayton authored
is being run is visible in the terminal as opposed to just seeing a path to a .command file. llvm-svn: 116814
-
Howard Hinnant authored
llvm-svn: 116813
-
Mikhail Glushenkov authored
Fixes PR8389. llvm-svn: 116812
-
Mikhail Glushenkov authored
llvm-svn: 116811
-
Johnny Chen authored
Change the environment variable name to be more descriptive from LLDB_TIME_WAIT to LLDB_TIME_WAIT_NEXT_LAUNCH. llvm-svn: 116809
-
Che-Liang Chiou authored
llvm-svn: 116808
-
Che-Liang Chiou authored
llvm-svn: 116807
-
Che-Liang Chiou authored
llvm-svn: 116806
-
Che-Liang Chiou authored
llvm-svn: 116805
-
Bill Wendling authored
llvm-svn: 116804
-
Chandler Carruth authored
'../lib/clang/<version>'. Actually use '..' rather than removing the trailing component to correctly handle paths containing '.' or symlinks in the presence of -no-canonical-prefixes, etc. This shouldn't change any existing behavior. llvm-svn: 116803
-
Chandler Carruth authored
strange packaging environments. The primary result of this is to expose a (normally empty) CLANG_RESOURCE_DIR string in the autoconf and CMake builds. This will in turn be used by a subsequent commit to Clang. Regenerated configure and config.h.in thanks to Nick. =D llvm-svn: 116802
-
Michael J. Spencer authored
llvm-svn: 116801
-
Michael J. Spencer authored
llvm-svn: 116800
-
Michael J. Spencer authored
llvm-svn: 116799
-
Michael J. Spencer authored
llvm-svn: 116798
-
John McCall authored
llvm-svn: 116797
-