Will Dietz
|
4f45bc099f
[ubsan] Add support for -fsanitize-blacklist
|
12 жил өмнө |
Dmitri Gribenko
|
cfa88f8939
Remove useless 'llvm::' qualifier from names like StringRef and others that are
|
12 жил өмнө |
Chandler Carruth
|
3b844ba7d5
Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to
|
12 жил өмнө |
Bill Wendling
|
72390b39c5
Rename llvm::Attributes to llvm::Attribute.
|
12 жил өмнө |
Bill Wendling
|
ad017fa7a4
Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here.
|
12 жил өмнө |
Bill Wendling
|
094dbf9171
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
|
12 жил өмнө |
Benjamin Kramer
|
29573b0a82
Unbreak the clang build after r169712.
|
12 жил өмнө |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 жил өмнө |
Michael Ilseman
|
cdeb7d57a4
Have clang use LLVM IR's fast-math flags when in FastMath or FiniteMathOnly modes. Test cases included.
|
12 жил өмнө |
Michael Ilseman
|
9dce4b3d9d
remove trailing whitespace
|
12 жил өмнө |
Will Dietz
|
ad95481b27
[ubsan] Add flag to enable recovery from checks when possible.
|
12 жил өмнө |
Benjamin Kramer
|
8fd8ee9b71
Simplify code. No functionality change.
|
12 жил өмнө |
Eli Friedman
|
f5bf912767
When evaluating variably modified types for function parameters, dig out the
|
12 жил өмнө |
Richard Smith
|
d6396a681c
Use the individual -fsanitize=<...> arguments to control which of the UBSan
|
12 жил өмнө |
Richard Smith
|
7edf9e38b9
Simplify: replace getContext().getLangOpts() with just getLangOpts().
|
12 жил өмнө |
Micah Villmow
|
956a5a1771
Cleanup some clang code to use new type functions instead of using cast<>.
|
13 жил өмнө |
Douglas Gregor
|
4cdad3151b
Switch CodeGenOptions over to a .def file, like we do with LangOptions.
|
13 жил өмнө |
Alexey Samsonov
|
a240df2ec1
Transform pattern:
|
13 жил өмнө |
Richard Smith
|
802cd5b197
At -O0, emit an @llvm.trap() call at the end of a value-returning function which
|
13 жил өмнө |
Bill Wendling
|
fac6310528
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change.
|
13 жил өмнө |
Richard Smith
|
bf43f2fdfb
Tidy up formatting.
|
13 жил өмнө |
Richard Smith
|
930c05c32e
-fcatch-undefined-behavior: catch a VLA bound which evalutes to a non-positive value.
|
13 жил өмнө |
Richard Smith
|
4def70d304
-fcatch-undefined-behavior: emit calls to the runtime library whenever one of the checks fails.
|
13 жил өмнө |
Micah Villmow
|
25a6a84cf5
Move TargetData to DataLayout.
|
13 жил өмнө |
Richard Smith
|
36ef0d54cf
If we flow off the end of a value-returning function:
|
13 жил өмнө |
Richard Trieu
|
e1ecdc1681
Change APInt to APSInt in one instance. Also change a call to operator==() to
|
13 жил өмнө |
Chandler Carruth
|
6bebe5aca3
Update Clang to reflect the move of MDBuilder in r160237.
|
13 жил өмнө |
Tanya Lattner
|
198871cc90
Add OpenCL metadata for kernel arg names. This output is controlled via a flag as noted in the OpenCL Spec.
|
13 жил өмнө |
Tanya Lattner
|
0df579ec00
Patch by Anton Lokhmotov to add OpenCL work group size attributes.
|
13 жил өмнө |
Fariborz Jahanian
|
4904bf4e84
block literal irgen: several improvements on naming block
|
13 жил өмнө |