[clang] 2497d5a - Define _GNU_SOURCE for arm baremetal in C++ mode.

2022-11-03 Thread Manoj Gupta via cfe-commits
Author: Manoj Gupta Date: 2022-11-03T13:58:47-07:00 New Revision: 2497d5aa7716a664c4f73df1980b026c906c7522 URL: https://github.com/llvm/llvm-project/commit/2497d5aa7716a664c4f73df1980b026c906c7522 DIFF: https://github.com/llvm/llvm-project/commit/2497d5aa7716a664c4f73df1980b026c906c7522.diff L

[clang] 5e5d214 - BareMetal: detect usr/include/c++/v1 path in sysroot

2022-10-07 Thread Manoj Gupta via cfe-commits
Author: Manoj Gupta Date: 2022-10-07T21:25:18-07:00 New Revision: 5e5d21462d1ea7dbaa13bcd9bcf0156cee45b97c URL: https://github.com/llvm/llvm-project/commit/5e5d21462d1ea7dbaa13bcd9bcf0156cee45b97c DIFF: https://github.com/llvm/llvm-project/commit/5e5d21462d1ea7dbaa13bcd9bcf0156cee45b97c.diff L

[clang] 06fc5a7 - Driver: Refactor and support per target dirs in baremetal

2022-08-10 Thread Manoj Gupta via cfe-commits
Author: Manoj Gupta Date: 2022-08-10T09:13:30-07:00 New Revision: 06fc5a7714621324b121fb3ee03ac15eb018cf99 URL: https://github.com/llvm/llvm-project/commit/06fc5a7714621324b121fb3ee03ac15eb018cf99 DIFF: https://github.com/llvm/llvm-project/commit/06fc5a7714621324b121fb3ee03ac15eb018cf99.diff L

[clang] 18432be - [Driver]: fix compiler-rt path when printing libgcc for baremetal

2020-10-14 Thread Manoj Gupta via cfe-commits
Author: Christopher Di Bella Date: 2020-10-14T10:29:35-07:00 New Revision: 18432bea764863d1c42fd569bd3846673ee4e802 URL: https://github.com/llvm/llvm-project/commit/18432bea764863d1c42fd569bd3846673ee4e802 DIFF: https://github.com/llvm/llvm-project/commit/18432bea764863d1c42fd569bd3846673ee4e80

r371878 - Reland r371785: Add -Wpoison-system-directories warning

2019-09-13 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Fri Sep 13 11:00:51 2019 New Revision: 371878 URL: http://llvm.org/viewvc/llvm-project?rev=371878&view=rev Log: Reland r371785: Add -Wpoison-system-directories warning When using clang as a cross-compiler, we should not use system headers to do the compilation. This CL ad

r371799 - Revert r371785.

2019-09-12 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Thu Sep 12 17:28:37 2019 New Revision: 371799 URL: http://llvm.org/viewvc/llvm-project?rev=371799&view=rev Log: Revert r371785. r371785 is causing fails on clang-hexagon-elf buildbots. Removed: cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/ cfe/t

r371785 - Add -Wpoison-system-directories warning

2019-09-12 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Thu Sep 12 15:36:13 2019 New Revision: 371785 URL: http://llvm.org/viewvc/llvm-project?rev=371785&view=rev Log: Add -Wpoison-system-directories warning When using clang as a cross-compiler, we should not use system headers to do the compilation. This CL adds support of a

Re: r337433 - [clang]: Add support for "-fno-delete-null-pointer-checks"

2018-07-23 Thread Manoj Gupta via cfe-commits
oment, the > only such test coverage has been added to test files that are testing > unrelated things, which seems inappropriate. A separate test file that > tests that we don't emit 'nonnull' annotations when null pointers are > assumed valid would seem best to me. > &g

r337433 - [clang]: Add support for "-fno-delete-null-pointer-checks"

2018-07-18 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Wed Jul 18 17:44:52 2018 New Revision: 337433 URL: http://llvm.org/viewvc/llvm-project?rev=337433&view=rev Log: [clang]: Add support for "-fno-delete-null-pointer-checks" Summary: Support for this option is needed for building Linux kernel. This is a very frequently reque

r331928 - Update pragma-attribute-supported-attributes-list.test.

2018-05-09 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Wed May 9 15:05:53 2018 New Revision: 331928 URL: http://llvm.org/viewvc/llvm-project?rev=331928&view=rev Log: Update pragma-attribute-supported-attributes-list.test. Update the test to include the new attribute NoStackProtector to fix the build fails. Modified: cfe

r331925 - [Clang] Implement function attribute no_stack_protector.

2018-05-09 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Wed May 9 14:41:18 2018 New Revision: 331925 URL: http://llvm.org/viewvc/llvm-project?rev=331925&view=rev Log: [Clang] Implement function attribute no_stack_protector. Summary: This attribute tells clang to skip this function from stack protector when -stack-protector op

r329512 - [Driver] Update GCC libraries detection logic for Gentoo.

2018-04-07 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Sat Apr 7 12:59:58 2018 New Revision: 329512 URL: http://llvm.org/viewvc/llvm-project?rev=329512&view=rev Log: [Driver] Update GCC libraries detection logic for Gentoo. Summary: 1. Find GCC's LDPATH from the actual GCC config file. 2. Avoid picking libraries from a simil

Re: r329300 - Disable -fmerge-all-constants as default.

2018-04-06 Thread Manoj Gupta via cfe-commits
Sure, will update. Thanks, Manoj On Fri, Apr 6, 2018 at 4:56 AM Nico Weber wrote: > This should probably get a release notes entry. Can you write one? > > On Thu, Apr 5, 2018 at 11:29 AM, Manoj Gupta via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Auth

Re: r329300 - Disable -fmerge-all-constants as default.

2018-04-05 Thread Manoj Gupta via cfe-commits
lvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/9602 >> >> Also another builder is affected: >> http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu >> >> Both builders were red and did not send notifications. >> >> Please have a look? >>

r329300 - Disable -fmerge-all-constants as default.

2018-04-05 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Thu Apr 5 08:29:52 2018 New Revision: 329300 URL: http://llvm.org/viewvc/llvm-project?rev=329300&view=rev Log: Disable -fmerge-all-constants as default. Summary: "-fmerge-all-constants" is a non-conforming optimization and should not be the default. It is also causing mi

r328829 - [AArch64]: Add support for parsing rN registers.

2018-03-29 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Thu Mar 29 14:11:15 2018 New Revision: 328829 URL: http://llvm.org/viewvc/llvm-project?rev=328829&view=rev Log: [AArch64]: Add support for parsing rN registers. Summary: Allow rN registers to be simply parsed as correspoing xN registers. The "register ... asm("rN")" is an

r326639 - Do not generate calls to fentry with __attribute__((no_instrument_function))

2018-03-02 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Fri Mar 2 15:52:44 2018 New Revision: 326639 URL: http://llvm.org/viewvc/llvm-project?rev=326639&view=rev Log: Do not generate calls to fentry with __attribute__((no_instrument_function)) Summary: Currently only calls to mcount were suppressed with no_instrument_function

r305728 - [Clang] Handle interaction of -pg and no_instrument_function attribute.

2017-06-19 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Mon Jun 19 13:45:03 2017 New Revision: 305728 URL: http://llvm.org/viewvc/llvm-project?rev=305728&view=rev Log: [Clang] Handle interaction of -pg and no_instrument_function attribute. Summary: Disable generation of counting-function attribute if no_instrument_function att

[libunwind] r303206 - [libunwind] Fix executable stack directive on Linux.

2017-05-16 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Tue May 16 15:18:57 2017 New Revision: 303206 URL: http://llvm.org/viewvc/llvm-project?rev=303206&view=rev Log: [libunwind] Fix executable stack directive on Linux. Summary: Disable executable stack on Linux. Also remove redundant Android check as it is covered by Android

r300571 - [AArch64][clang] Pass cpu/arch information to assembler for AArch64.

2017-04-18 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Tue Apr 18 12:36:10 2017 New Revision: 300571 URL: http://llvm.org/viewvc/llvm-project?rev=300571&view=rev Log: [AArch64][clang] Pass cpu/arch information to assembler for AArch64. Summary: Pass Cpu/Arch options to assembler for AArch64 with no-integrated-as. This fixes P

r300570 - Testing commit access.

2017-04-18 Thread Manoj Gupta via cfe-commits
Author: manojgupta Date: Tue Apr 18 12:34:46 2017 New Revision: 300570 URL: http://llvm.org/viewvc/llvm-project?rev=300570&view=rev Log: Testing commit access. Summary: Test commit access. Reviewers: gbiv, george.burgess.iv Reviewed By: george.burgess.iv Subscribers: cfe-commits Differential