summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/src/include/atomic_support.h9
-rwxr-xr-xlibcxx/utils/gen_link_script/gen_link_script.py9
-rw-r--r--libcxx/utils/not/not.py9
-rw-r--r--libcxx/utils/sym_check/sym_check/__init__.py9
-rw-r--r--libcxx/utils/sym_check/sym_check/diff.py8
-rw-r--r--libcxx/utils/sym_check/sym_check/extract.py8
-rw-r--r--libcxx/utils/sym_check/sym_check/match.py8
-rw-r--r--libcxx/utils/sym_check/sym_check/util.py9
-rwxr-xr-xlibcxx/utils/sym_check/sym_diff.py9
-rwxr-xr-xlibcxx/utils/sym_check/sym_extract.py8
-rwxr-xr-xlibcxx/utils/sym_check/sym_match.py9
11 files changed, 95 insertions, 0 deletions
diff --git a/libcxx/src/include/atomic_support.h b/libcxx/src/include/atomic_support.h
index dbf3b9c81ea..8b719c5f221 100644
--- a/libcxx/src/include/atomic_support.h
+++ b/libcxx/src/include/atomic_support.h
@@ -1,3 +1,12 @@
+//===----------------------------------------------------------------------===////
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===////
+
#ifndef ATOMIC_SUPPORT_H
#define ATOMIC_SUPPORT_H
diff --git a/libcxx/utils/gen_link_script/gen_link_script.py b/libcxx/utils/gen_link_script/gen_link_script.py
index 5de18f9129c..9f1f0b771fc 100755
--- a/libcxx/utils/gen_link_script/gen_link_script.py
+++ b/libcxx/utils/gen_link_script/gen_link_script.py
@@ -1,4 +1,13 @@
#!/usr/bin/env python
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
+
import os
import sys
diff --git a/libcxx/utils/not/not.py b/libcxx/utils/not/not.py
index 96e4ea7eee1..d9ceb8515d0 100644
--- a/libcxx/utils/not/not.py
+++ b/libcxx/utils/not/not.py
@@ -1,3 +1,12 @@
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
+
"""not.py is a utility for inverting the return code of commands.
It acts similar to llvm/utils/not.
ex: python /path/to/not.py ' echo hello
diff --git a/libcxx/utils/sym_check/sym_check/__init__.py b/libcxx/utils/sym_check/sym_check/__init__.py
index 3c668036e47..1aa2b450c12 100644
--- a/libcxx/utils/sym_check/sym_check/__init__.py
+++ b/libcxx/utils/sym_check/sym_check/__init__.py
@@ -1,3 +1,12 @@
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
+
"""libcxx abi symbol checker"""
__author__ = 'Eric Fiselier'
diff --git a/libcxx/utils/sym_check/sym_check/diff.py b/libcxx/utils/sym_check/sym_check/diff.py
index a16e54d34e0..6502a4819a4 100644
--- a/libcxx/utils/sym_check/sym_check/diff.py
+++ b/libcxx/utils/sym_check/sym_check/diff.py
@@ -1,4 +1,12 @@
# -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
"""
diff - A set of functions for diff-ing two symbol lists.
"""
diff --git a/libcxx/utils/sym_check/sym_check/extract.py b/libcxx/utils/sym_check/sym_check/extract.py
index b4f4cee2dc5..7bafd8ec4c5 100644
--- a/libcxx/utils/sym_check/sym_check/extract.py
+++ b/libcxx/utils/sym_check/sym_check/extract.py
@@ -1,4 +1,12 @@
# -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
"""
extract - A set of function that extract symbol lists from shared libraries.
"""
diff --git a/libcxx/utils/sym_check/sym_check/match.py b/libcxx/utils/sym_check/sym_check/match.py
index 9f496427e37..fae400e4e77 100644
--- a/libcxx/utils/sym_check/sym_check/match.py
+++ b/libcxx/utils/sym_check/sym_check/match.py
@@ -1,4 +1,12 @@
# -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
"""
match - A set of functions for matching symbols in a list to a list of regexs
"""
diff --git a/libcxx/utils/sym_check/sym_check/util.py b/libcxx/utils/sym_check/sym_check/util.py
index 1d3b424f6f3..6ae71b01080 100644
--- a/libcxx/utils/sym_check/sym_check/util.py
+++ b/libcxx/utils/sym_check/sym_check/util.py
@@ -1,3 +1,12 @@
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
+
import ast
import distutils.spawn
import signal
diff --git a/libcxx/utils/sym_check/sym_diff.py b/libcxx/utils/sym_check/sym_diff.py
index 054c6c18e3e..69c340028c6 100755
--- a/libcxx/utils/sym_check/sym_diff.py
+++ b/libcxx/utils/sym_check/sym_diff.py
@@ -1,7 +1,16 @@
#!/usr/bin/env python
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
"""
sym_diff - Compare two symbol lists and output the differences.
"""
+
from argparse import ArgumentParser
import sys
from sym_check import diff, util
diff --git a/libcxx/utils/sym_check/sym_extract.py b/libcxx/utils/sym_check/sym_extract.py
index 5d8953986b2..a0fbb3e6341 100755
--- a/libcxx/utils/sym_check/sym_extract.py
+++ b/libcxx/utils/sym_check/sym_extract.py
@@ -1,4 +1,12 @@
#!/usr/bin/env python
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
"""
sym_extract - Extract and output a list of symbols from a shared library.
"""
diff --git a/libcxx/utils/sym_check/sym_match.py b/libcxx/utils/sym_check/sym_match.py
index c60b2462935..231bdc8b367 100755
--- a/libcxx/utils/sym_check/sym_match.py
+++ b/libcxx/utils/sym_check/sym_match.py
@@ -1,4 +1,13 @@
#!/usr/bin/env python
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
+
"""
sym_match - Match all symbols in a list against a list of regexes.
"""
OpenPOWER on IntegriCloud