- Oct 19, 2010
-
-
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
-
John McCall authored
Petty time optimization in TemplateTypeParmType. llvm-svn: 116796
-
John McCall authored
we may need to complete the type before looking into it. llvm-svn: 116795
-
NAKAMURA Takumi authored
llvm-svn: 116794
-
NAKAMURA Takumi authored
MSYS cat(1) does not expand wildcards. llvm-svn: 116793
-
Greg Clayton authored
sockets so the driver doesn't just crash. Added support for connecting to named sockets (unix IPC sockets) in ConnectionFileDescriptor. Modified the Host::LaunchInNewTerminal() for MacOSX to return the process ID of the inferior process instead of the process ID of the Terminal.app. This was done by modifying the "darwin-debug" executable to connect to lldb through a named unix socket which is passed down as an argument. This allows a quick handshake between "lldb" and "darwin-debug" so we can get the process ID of the inferior and then attach by process ID and avoid attaching to the inferior by process name since there could be more than one process with that name. This still has possible race conditions, those will be fixed in the near future. This fixes the SIGPIPE issues that were sometimes being seen when task_for_pid was failing. llvm-svn: 116792
-
NAKAMURA Takumi authored
lib/CodeGen/TargetLoweringObjectFileImpl.cpp: Tweak to emit ".{section}${name}" instead of ".{section}$linkonce_{name}" for linkonce sections. It seems GNU ld/PECOFF relies on section names, linking with g++'s libstdc++.a would fail. llvm-svn: 116791
-
Andrew Trick authored
in MultiSource/Benchmarks/VersaBench/beamformer/beamformer. SmallSet.insert returns true if the element is inserted. llvm-svn: 116790
-
John McCall authored
llvm-svn: 116789
-
Rafael Espindola authored
llvm-svn: 116788
-
John McCall authored
llvm-svn: 116787
-
John McCall authored
construct an unsupported friend when there's a friend with a templated scope specifier. Fixes a consistency crash, rdar://problem/8540527 llvm-svn: 116786
-