| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 74931
|
| |
|
|
|
|
| |
by Eric Rannaud!
llvm-svn: 74930
|
| |
|
|
|
|
|
|
|
|
|
| |
uint8_t (via 'foo & 255'), i replaced this with an explicit (uint8_t)
cast which is equivalent, faster and more correct (silences
type-related warnings). Also, following coding standards I replaced
post-increment with pre-increment."
Patch by Ryan Flynn!
llvm-svn: 74929
|
| |
|
|
| |
llvm-svn: 74928
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes PR4512 and eliminating static ctors is always good. Losing
thread safety is unfortunate, but the code is just incredibly poorly
designed.
If someone is interested, the "right" solution is to split
DynamicLibrary.cpp into two separate pieces: a stateless piece in
libsystem, and a simple support file in libsupport that has the
"state" (e.g. AddSymbol) in managed static objects.
Doing this would both fix memory leaks we already have, as well as make
the code thread safe again. it would also make sense to move all the
unix specific code in System/DynamicLibrary.cpp into
System/Unix/DynamicLibrary.inc.
llvm-svn: 74927
|
| |
|
|
|
|
| |
and dtor are dead.
llvm-svn: 74926
|
| |
|
|
| |
llvm-svn: 74925
|
| |
|
|
| |
llvm-svn: 74924
|
| |
|
|
| |
llvm-svn: 74923
|
| |
|
|
|
|
|
|
| |
This will replace exit()/abort() style error handling with an API
that allows clients to register custom error handling hooks.
The default is to call exit(1) when no error handler is provided.
llvm-svn: 74922
|
| |
|
|
| |
llvm-svn: 74920
|
| |
|
|
|
|
| |
dynamically initialized. Patch by Ryan Flynn!
llvm-svn: 74919
|
| |
|
|
| |
llvm-svn: 74918
|
| |
|
|
|
|
| |
declaration for a builtin.
llvm-svn: 74917
|
| |
|
|
| |
llvm-svn: 74915
|
| |
|
|
| |
llvm-svn: 74914
|
| |
|
|
| |
llvm-svn: 74913
|
| |
|
|
|
|
|
| |
Sanjiv complained about the need to maintain local changes to
lib/CompilerDriver.
llvm-svn: 74912
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FILE type, rather than using name lookup to find FILE within the
translation unit. Within precompiled headers, FILE is treated as yet
another "special type" (like __builtin_va_list).
This change should provide a performance improvement (not verified),
since the lookup into the translation unit declaration
forces the (otherwise unneeded) construction of a large hash table.
More importantly, with precompiled headers, the construction
of that table requires deserializing most of the top-level
declarations from the precompiled header, which are then unused.
Fixes PR 4509.
llvm-svn: 74911
|
| |
|
|
| |
llvm-svn: 74910
|
| |
|
|
|
|
| |
- Fariborz
llvm-svn: 74909
|
| |
|
|
| |
llvm-svn: 74908
|
| |
|
|
| |
llvm-svn: 74907
|
| |
|
|
| |
llvm-svn: 74906
|
| |
|
|
|
|
|
| |
Makes possible to provide default values for options defined in plugins (same as
cl::init).
llvm-svn: 74905
|
| |
|
|
|
|
|
| |
Make isList(), isSwitch() and isParameter() member functions of
OptionDescription.
llvm-svn: 74904
|
| |
|
|
| |
llvm-svn: 74903
|
| |
|
|
|
|
|
|
| |
previous cmp; a copy can not be inserted here if the copy insn also has
side effects. We don't have access to the attributes of copy insn here;
so just play safe by finding a safe locations for branch terminators.
llvm-svn: 74898
|
| |
|
|
| |
llvm-svn: 74896
|
| |
|
|
| |
llvm-svn: 74895
|
| |
|
|
| |
llvm-svn: 74894
|
| |
|
|
| |
llvm-svn: 74893
|
| |
|
|
| |
llvm-svn: 74890
|
| |
|
|
| |
llvm-svn: 74889
|
| |
|
|
| |
llvm-svn: 74888
|
| |
|
|
|
|
|
|
| |
removing the search state
and by having their Visit* methods return the ASTLocation directly.
llvm-svn: 74887
|
| |
|
|
|
|
|
| |
in PIC modes (in accordance with existing comment).
gcc.apple/asm-block-25.c
llvm-svn: 74886
|
| |
|
|
|
|
|
|
|
|
|
|
| |
with a particular system root directory and can be used with a different
system root directory when the headers it depends on have been installed.
Relocatable precompiled headers rewrite the file names of the headers used
when generating the PCH file into the corresponding file names of the
headers available when using the PCH file.
Addresses <rdar://problem/7001604>.
llvm-svn: 74885
|
| |
|
|
|
|
| |
types.
llvm-svn: 74884
|
| |
|
|
| |
llvm-svn: 74883
|
| |
|
|
| |
llvm-svn: 74882
|
| |
|
|
| |
llvm-svn: 74881
|
| |
|
|
|
|
| |
PIC16 developers, please verify. Thanks.
llvm-svn: 74880
|
| |
|
|
| |
llvm-svn: 74879
|
| |
|
|
| |
llvm-svn: 74878
|
| |
|
|
| |
llvm-svn: 74877
|
| |
|
|
|
|
|
| |
region type. This better shows the logic of the method and allows the compiler
to check if we didn't handle a specific region kind.
llvm-svn: 74876
|
| |
|
|
| |
llvm-svn: 74875
|
| |
|
|
| |
llvm-svn: 74874
|
| |
|
|
|
|
| |
through the ValueTracking API.
llvm-svn: 74873
|