This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: .cfi in sanitizer code
- From: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>, Dodji Seketeli <dodji at redhat dot com>, Marek Polacek <polacek at redhat dot com>, Dmitry Vyukov <dvyukov at google dot com>, Evgeniy Stepanov <eugenis at google dot com>, Alexey Samsonov <samsonov at google dot com>
- Date: Thu, 5 Dec 2013 12:34:41 +0400
- Subject: Re: .cfi in sanitizer code
- Authentication-results: sourceware.org; auth=none
- References: <CAGQ9bdyf5sYnJeBmeiDENc9hFG5BZ8h3vTgAqFQjxr4WP2v2Yw at mail dot gmail dot com> <20131204141619 dot GU892 at tucnak dot redhat dot com> <CAGQ9bdy+4ZtxwUA0d+7bRch4vKXc4bSEhdX4jxwzn7jNUszpZg at mail dot gmail dot com> <CAGQ9bdzwF+Gw1p+rGrb-WEVN+vQL4XLqEz5QnREReO2Y5muD+g at mail dot gmail dot com> <20131205081844 dot GF892 at tucnak dot redhat dot com>
On Thu, Dec 5, 2013 at 12:18 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, Dec 05, 2013 at 11:51:12AM +0400, Konstantin Serebryany wrote:
>> Committed upstream:
>> http://llvm.org/viewvc/llvm-project?view=revision&revision=196480
>
> LGTM, can we commit it after the merge you have already prepared, or do you
> want to do another merge for it?
Whichever you prefer is fine.
>> Try clang -fno-dwarf2-cfi-asm -no-integrated-as then?
Yes, this did the trick.
--kcc
>
> Alternatively, rather than defining separate CFI_INL* and CFI_* macros,
> you could just use the same names of macros and just provide different
> definitions based on #ifdef __ASSEMBLER__, in preprocessed assembly the ones
> without string literals, in C/C++ with them.
>
> Jakub