- Oct 19, 2010
-
-
Dan Gohman authored
llvm-svn: 116858
-
Jakob Stoklund Olesen authored
Pull an unsigned out of the Contents union such that it has the same size as two pointers and no padding. Arrange members such that the Contents union and all pointers can be 8-byte aligned without padding. This speeds up code generation by 0.8% on a 64-bit host. 32-bit hosts should be unaffected. llvm-svn: 116857
-
Sean Callanan authored
did not return a result. The result is nonexistent (or void), not NULL. llvm-svn: 116855
-
Owen Anderson authored
they do not also require them. This allows us to reduce inter-pass linkage dependencies. llvm-svn: 116854
-
Bill Wendling authored
http://llvm.org/viewvc/llvm-project?rev=116771&view=rev) we can get rid of these hacks. llvm-svn: 116853
-
Dale Johannesen authored
integers by default, and remove the controlling flag, now that LICM will hoist such vdup's. 8003375. llvm-svn: 116852
-
Owen Anderson authored
llvm-svn: 116851
-
Johnny Chen authored
llvm-svn: 116850
-
Douglas Gregor authored
computation to compute the lower bound of the edit distance, so that we can avoid computing the edit distance for names that will clearly be rejected later. Since edit distance is such an expensive algorithm (M x N), this leads to a 7.5x speedup when correcting NSstring -> NSString in the presence of a Cocoa PCH. llvm-svn: 116849
-
Rafael Espindola authored
llvm-svn: 116848
-
Johnny Chen authored
Add a little helper function SETTING_MSG(setting) to be used from TestSettings.test_set_output_path(). llvm-svn: 116847
-
Fariborz Jahanian authored
property synthesis mode, when dealing with legacy code. Fixes //rdar: //8565343. llvm-svn: 116846
-
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
-