| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
globals generated by asan
llvm-svn: 168368
|
| |
|
|
|
|
| |
linkage in -asan-initialization-order mode
llvm-svn: 168367
|
| |
|
|
|
|
| |
instrumented even in -asan-initialization-order mode. This time with a test
llvm-svn: 168366
|
| |
|
|
|
|
| |
edge table memory.
llvm-svn: 168259
|
| |
|
|
| |
llvm-svn: 167928
|
| |
|
|
| |
llvm-svn: 167729
|
| |
|
|
|
|
| |
checking for globals of specified types. Tests for this behavior will go to ASan test suite in compiler-rt.
llvm-svn: 167725
|
| |
|
|
| |
llvm-svn: 167615
|
| |
|
|
| |
llvm-svn: 167612
|
| |
|
|
|
|
| |
interface function is being redefined. Before this fix asan asserts)
llvm-svn: 167529
|
| |
|
|
| |
llvm-svn: 167295
|
| |
|
|
|
|
| |
binary size a bit)
llvm-svn: 167230
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r165941: Resubmit the changes to llvm core to update the functions to
support different pointer sizes on a per address space basis.
Despite this commit log, this change primarily changed stuff outside of
VMCore, and those changes do not carry any tests for correctness (or
even plausibility), and we have consistently found questionable or flat
out incorrect cases in these changes. Most of them are probably correct,
but we need to devise a system that makes it more clear when we have
handled the address space concerns correctly, and ideally each pass that
gets updated would receive an accompanying test case that exercises that
pass specificaly w.r.t. alternate address spaces.
However, from this commit, I have retained the new C API entry points.
Those were an orthogonal change that probably should have been split
apart, but they seem entirely good.
In several places the changes were very obvious cleanups with no actual
multiple address space code added; these I have not reverted when
I spotted them.
In a few other places there were merge conflicts due to a cleaner
solution being implemented later, often not using address spaces at all.
In those cases, I've preserved the new code which isn't address space
dependent.
This is part of my ongoing effort to clean out the partial address space
code which carries high risk and low test coverage, and not likely to be
finished before the 3.2 release looms closer. Duncan and I would both
like to see the above issues addressed before we return to these
changes.
llvm-svn: 167222
|
| |
|
|
|
|
|
|
|
| |
wrapper returns a vector of integers when passed a vector of pointers) by having
getIntPtrType itself return a vector of integers in this case. Outside of this
wrapper, I didn't find anywhere in the codebase that was relying on the old
behaviour for vectors of pointers, so give this a whirl through the buildbots.
llvm-svn: 166939
|
| |
|
|
|
|
| |
command. Bleh, sorry about this!
llvm-svn: 166596
|
| |
|
|
| |
llvm-svn: 166591
|
| |
|
|
|
|
|
|
|
| |
address space.
This checkin also adds in some tests that utilize these paths and updates some of the
clients.
llvm-svn: 166578
|
| |
|
|
| |
llvm-svn: 166283
|
| |
|
|
| |
llvm-svn: 166278
|
| |
|
|
|
|
| |
This became important after the recent move from ModulePass to FunctionPass because no cleanup is happening after asan pass any more.
llvm-svn: 166267
|
| |
|
|
| |
llvm-svn: 166102
|
| |
|
|
|
|
| |
different pointer sizes on a per address space basis.
llvm-svn: 165941
|
| |
|
|
|
|
| |
This will simplify chaining other FunctionPasses with asan. Also some minor cleanup
llvm-svn: 165936
|
| |
|
|
| |
llvm-svn: 165747
|
| |
|
|
|
|
| |
per address space pointer sizes to be optimized correctly.
llvm-svn: 165726
|
| |
|
|
|
|
| |
attribute object and add it appropriately. No functionality change.
llvm-svn: 165595
|
| |
|
|
| |
llvm-svn: 165494
|
| |
|
|
|
|
|
| |
We use the enums to query whether an Attributes object has that attribute. The
opaque layer is responsible for knowing where that specific attribute is stored.
llvm-svn: 165488
|
| |
|
|
| |
llvm-svn: 165465
|
| |
|
|
| |
llvm-svn: 165402
|
| |
|
|
|
|
| |
and what is not.
llvm-svn: 165204
|
| |
|
|
| |
llvm-svn: 165107
|
| |
|
|
|
|
| |
See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767
llvm-svn: 164768
|
| |
|
|
| |
llvm-svn: 164767
|
| |
|
|
|
|
|
| |
The hasFnAttr method has been replaced by querying the Attributes explicitly. No
intended functionality change.
llvm-svn: 164725
|
| |
|
|
| |
llvm-svn: 164040
|
| |
|
|
|
|
| |
The cases where no initialization happens should still be checked for logic flaws.
llvm-svn: 164032
|
| |
|
|
| |
llvm-svn: 163945
|
| |
|
|
|
|
| |
which requires TargetData.
llvm-svn: 163799
|
| |
|
|
|
|
|
|
|
|
| |
This function writes out the current values of the counters and then resets
them. This can be used similarly to the __gcov_flush function to sync the
counters when need be. For instance, in a situation where the application
doesn't exit.
<rdar://problem/12185886>
llvm-svn: 163757
|
| |
|
|
| |
llvm-svn: 163205
|
| |
|
|
|
|
| |
Reid Watson
llvm-svn: 163199
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the code guarded with ANDROIDEABI are not
ARM-specific, and having no relation with arm-eabi.
Thus, it will be more natural to call this
environment "Android" instead of "ANDROIDEABI".
Note: We are not using ANDROID because several projects
are using "-DANDROID" as the conditional compilation
flag.
llvm-svn: 163087
|
| |
|
|
| |
llvm-svn: 162907
|
| |
|
|
| |
llvm-svn: 162888
|
| |
|
|
|
|
| |
path.
llvm-svn: 162883
|
| |
|
|
|
|
|
|
| |
This lets the user run the program from a different directory and still have the
.gcda files show up in the correct place.
<rdar://problem/12179524>
llvm-svn: 162855
|
| |
|
|
| |
llvm-svn: 162851
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This disables malloc-specific optimization when -fno-builtin (or -ffreestanding)
is specified. This has been a problem for a long time but became more severe
with the recent memory builtin improvements.
Since the memory builtin functions are used everywhere, this required passing
TLI in many places. This means that functions that now have an optional TLI
argument, like RecursivelyDeleteTriviallyDeadFunctions, won't remove dead
mallocs anymore if the TLI argument is missing. I've updated most passes to do
the right thing.
Fixes PR13694 and probably others.
llvm-svn: 162841
|
| |
|
|
|
|
| |
limited to functions any more
llvm-svn: 162566
|