summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/Inputs/openembedded_arm_linux_tree
diff options
context:
space:
mode:
authorMandeep Singh Grang <mgrang@codeaurora.org>2018-07-30 19:44:13 +0000
committerMandeep Singh Grang <mgrang@codeaurora.org>2018-07-30 19:44:13 +0000
commite9ddc44a604318739a27249d267aa7267d13d93b (patch)
tree2b9f67751a0a2e420fcbb56b1135577e54a57fd3 /clang/test/Driver/Inputs/openembedded_arm_linux_tree
parentf78650a8deca216b858827ff430972c114a60a7a (diff)
downloadbcm5719-llvm-e9ddc44a604318739a27249d267aa7267d13d93b.tar.gz
bcm5719-llvm-e9ddc44a604318739a27249d267aa7267d13d93b.zip
[OpenEmbedded] Fix lib paths for OpenEmbedded targets
Summary: The lib paths are not correctly picked up for OpenEmbedded sysroots (like arm-oe-linux-gnueabi) for 2 reasons: 1. OpenEmbedded sysroots are of the form <sysroot>/usr/lib/<triple>/x.y.z. This form is handled in clang but only for Freescale vendor. 2. 64-bit OpenEmbedded sysroots may not have a /usr/lib dir. So they cannot find /usr/lib64 as it is referenced as /usr/lib/../lib64 in clang. This is a follow-up to the llvm patch: D48861 Reviewers: dlj, rengolin, fedor.sergeev, javed.absar, hfinkel, rsmith Reviewed By: rsmith Subscribers: rsmith, kristof.beyls, cfe-commits Differential Revision: https://reviews.llvm.org/D48862 llvm-svn: 338294
Diffstat (limited to 'clang/test/Driver/Inputs/openembedded_arm_linux_tree')
-rw-r--r--clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/include/c++/6.3.0/backward/.keep0
-rw-r--r--clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtbegin.o0
-rw-r--r--clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtend.o0
-rw-r--r--clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crt1.o0
-rw-r--r--clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crti.o0
-rw-r--r--clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crtn.o0
6 files changed, 0 insertions, 0 deletions
diff --git a/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/include/c++/6.3.0/backward/.keep b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/include/c++/6.3.0/backward/.keep
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/include/c++/6.3.0/backward/.keep
diff --git a/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtbegin.o b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtbegin.o
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtbegin.o
diff --git a/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtend.o b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtend.o
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/arm-oe-linux-gnueabi/6.3.0/crtend.o
diff --git a/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crt1.o b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crt1.o
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crt1.o
diff --git a/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crti.o b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crti.o
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crti.o
diff --git a/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crtn.o b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crtn.o
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/openembedded_arm_linux_tree/usr/lib/crtn.o
OpenPOWER on IntegriCloud