Displaying 20 results from an estimated 5000 matches similar to: "Recent clang regressions"
2016 Sep 20
2
[cfe-dev] Recent clang regressions
I get some failing tests from compiler-rt.
FAIL: cfi :: cross-dso/stats.cpp (30831 of 30893)
******************** TEST 'cfi :: cross-dso/stats.cpp' FAILED
********************
Script:
--
/usr/local/google/home/prazek/llvm-build-release/./bin/clang -fuse-ld=gold
-flto -fsanitize=cfi -fwhole-program-vtables --driver-mode=g++
-fsanitize-cfi-cross-dso -fvisibility=default -DSHARED_LIB -fPIC
2019 Dec 14
5
LLVM 9.0.1-rc3 has been tagged
Hi,
I've just tagged LLVM 9.0.1-rc3. Testers can begin testing and uploading
binaries. This will be the last release candidate unless there is a
major problem. I'm planning to tag the final release on Dec 19.
-Tom
2019 Nov 23
5
LLVM 9.0.1-rc1 Release has been tagged
Hi,
I've tagged the LLVM 9.0.1-rc1 release. Testers can begin testing and upload
binaries. I've also updated the test-release.sh script to pull from GitHub
instead of SVN, if you run into any issues with the new script, let me know.
-Tom
2019 Dec 20
7
LLVM 9.0.1-final has been tagged
Hi,
I've just tagged the 9.0.1-final release. Testers can begin uploading binaries.
-Tom
2019 Dec 07
6
LLVM 9.0.1-rc2 has been tagged
Hi,
I've tagged LLVM 9.0.1-rc2. Testers can begin testing and uploading binaries.
If all goes well, this will be the last -rc.
-Tom
2016 Feb 29
10
RFC: A new ABI for virtual calls, and a change to the virtual call representation in the IR
Hi all,
I'd like to make a proposal to implement the new vtable ABI described in
PR26723, which I'll call the relative ABI. That bug gives more details and
justification for that ABI.
The user interface for the new ABI would be that -fwhole-program-vtables
would take an optional value indicating which aspects of the program have
whole-program scope. For example, the existing
2017 Jan 31
1
CFI, Safe-Stack, and -fno-sanitize-trap
Hi,
I am using clang++3.9 to build a simple program with both CFI and safe-stack. I am getting linker errors when combining -fsanitize=safe-stack, -fsanitize=cfi, and -fno-sanitize-trap=all. Combining safe-stack and CFI without -fno-sanitize-trap=all works as expected.
It looks like clang is attempting to link in two compiler-rt libraries, one for ubsan and one for safestack, and this causes
2019 Sep 30
3
Debugging LowerTypeTests in LLVM Using GDB
Hi,
I am looking into Control-Flow Integrity for indirect function calls,
implemented with jump tables. I want to step through the code that produces
these jump tables in GDB. I have built clang and opt from source with
debugging symbols. I believe this code lives in
llvm/lib/Transforms/LowerTypeTests.cpp, but when I try to debug *opt* by
running the command "run -lowertypetests cfi-icall.bc
2017 May 16
2
[RFC] CFI for indirect calls with ThinLTO
Hi,
this is a proposal for the implementation of CFI-icall [1] with ThinLTO.
Jumptables are generated in the merged module. To generate a
jumptable, we need a list of functions with !type annotations,
including (in non-cross-dso mode) external functions. Unfortunately,
LLVM IR does not preserve unused function declarations, and we don’t
want to copy the actual function bodies to the merged
2018 Nov 29
2
LTO, ifuncs, and lld
Hey LLVM folks,
I've run into an interesting assertion. In one of HardenedBSD's
feature branches, we're working on integration llvm's Cross-DSO CFI
implementation. Using Cross-DSO CFI requires building libs with LTO,
which causes clang to emit LLVM IR intermediate object files rather
than ELF intermediate object files.
I've found that with lld, attempting to link LLVM IR
2017 May 16
2
[RFC] CFI for indirect calls with ThinLTO
On Mon, May 15, 2017 at 6:44 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> Thanks for sending this out. A few comments below.
>
> On Mon, May 15, 2017 at 5:17 PM, Evgenii Stepanov via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>>
>> Hi,
>>
>> this is a proposal for the implementation of CFI-icall [1] with ThinLTO.
>>
>>
2018 Nov 29
2
LTO, ifuncs, and lld
Hey Peter,
Here you go!
https://hardenedbsd.org/~shawn/2018-11-28_reproduce-01.tar
Thanks,
--
Shawn Webb
Cofounder and Security Engineer
HardenedBSD
Tor-ified Signal: +1 443-546-8752
Tor+XMPP+OTR: lattera at is.a.hacker.sx
GPG Key ID: 0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE
On Wed, Nov 28, 2018 at 05:30:57PM -0800, Peter
2017 May 24
2
[RFC] CFI for indirect calls with ThinLTO
On Tue, May 23, 2017 at 4:39 PM, Evgenii Stepanov <eugeni.stepanov at gmail.com
> wrote:
> On Tue, May 16, 2017 at 4:33 PM, Evgenii Stepanov
> <eugeni.stepanov at gmail.com> wrote:
> > On Mon, May 15, 2017 at 6:44 PM, Peter Collingbourne <peter at pcc.me.uk>
> wrote:
> >> Thanks for sending this out. A few comments below.
> >>
> >> On
2019 Aug 29
3
[RFC] Moving RELRO segment
Hello Vic,
I don't have a lot to add myself. I think that majority of the input
needs to come from the OS stakeholders. My main concern is if it
requires work on every platform to take advantage or avoid regressions
then perhaps it is worth adding as an option rather than changing the
default.
Some questions:
- Does this need work in every OS for correctness of programs? For
example you
2019 Aug 23
4
LLD Build Improvements
Greetings All,
I was wondering what projects seem to improve the most from lld as a
linker. It s
seems to mostly be browsers and games but if someone has something else
I would be interested to hear what. The site doesn't really talk about what
projects improve the most so I would be curious to hear what does and
even if possible why.
Nick
2018 Apr 27
3
Size of produced binaries when compiling llvm & clang sources
Dear llvm developpers,
I followed the tutorial to build llvm and clang provided here:
https://clang.llvm.org/get_started.html
The sources are in sync with subversion repository, and I ended up with
more than 30GB of binaries in llvm/bin as shown at the end of this message.
I assume I did something wrong, but I did not find any entry in the doc
that helps me understand how to reduce the size of
2018 Dec 01
2
LTO, ifuncs, and lld
Thanks for providing the patch! I got around to testing it this
morning and it appears it fixes compilation, but produces a
non-working system.
I know that's kinda vague and I'll have more details soon, including
sample binaries. I at least wanted to give a status update so you
didn't think you were being ignored.
Thanks,
--
Shawn Webb
Cofounder and Security Engineer
HardenedBSD
2019 Aug 28
3
[RFC] Moving RELRO segment
Hey all,
TL;DR: Moving RELRO segment to be immediately after read-only segment so
that the dynamic linker has the option to merge the two virtual memory
areas at run time.
This is an RFC for moving RELRO segment. Currently, lld orders ELF sections
in the following order: R, RX, RWX, RW, and RW contains RELRO. At run time,
after RELRO is write-protected, we'd have VMAs in the order of: R, RX,
2018 May 01
2
ThinLTO + CFI
Jump table sections already have this prefix: ".text..L.cfi.jumptable.”, without forcing the name with setSection(). Is that good enough?
> On May 1, 2018, at 1:16 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> I think we just need to change the section name for non-MachO object formats because "__TEXT,__text,regular,pure_instructions" is the default text
2019 Jan 09
2
LTO, ifuncs, and lld
It's at this point where I think about filing a full bug report with
llvm. Any hints before I do?
On Mon, Jan 07, 2019 at 04:00:02PM -0500, Shawn Webb wrote:
> It looks like this commit breaks CSU initialization with
> statically-compiled applications.
>
> With a very simple application at [1], compiled with:
> cc -g -O0 -flto -static -o pid pid.c
>
> The application