Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
3a9d5039
Commit
3a9d5039
authored
12 years ago
by
Alexey Samsonov
Browse files
Options
Downloads
Patches
Plain Diff
Add asan/msan to the list of available features in LIT test runner
llvm-svn: 177994
parent
88b2b45e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/test/lit.cfg
+7
-0
7 additions, 0 deletions
llvm/test/lit.cfg
llvm/test/lit.site.cfg.in
+1
-0
1 addition, 0 deletions
llvm/test/lit.site.cfg.in
with
8 additions
and
0 deletions
llvm/test/lit.cfg
+
7
−
0
View file @
3a9d5039
...
...
@@ -256,6 +256,13 @@ if loadable_module:
if
config.lto_is_enabled == "1" and platform.system() == "Darwin":
config.available_features.add('lto_on_osx')
# Sanitizers.
if
config.llvm_use_sanitizer == "Address":
config.available_features.add("asan")
if
(config.llvm_use_sanitizer == "Memory" or
config.llvm_use_sanitizer
== "MemoryWithOrigins"):
config.available_features.add("msan")
# llc
knows whether he is compiled with -DNDEBUG.
import
subprocess
try:
...
...
This diff is collapsed.
Click to expand it.
llvm/test/lit.site.cfg.in
+
1
−
0
View file @
3a9d5039
...
...
@@ -18,6 +18,7 @@ config.llvm_bindings = "@LLVM_BINDINGS@"
config.host_os = "@HOST_OS@"
config.host_arch = "@HOST_ARCH@"
config.llvm_use_intel_jitevents = "@LLVM_USE_INTEL_JITEVENTS@"
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
# Support substitution of the tools_dir with user parameters. This is
# used when we can't determine the tool dir at configuration time.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment