This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Simplify how we re-export symbols from libc++abi
ClosedPublic

Authored by ldionne on Sep 30 2020, 4:32 PM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Restricted Project
Commits
rG4f13b9992971: [libc++] Simplify how we re-export symbols from libc++abi
Summary

Instead of managing two copies of the symbol lists, reuse the same list
in libc++abi and libc++.

Diff Detail

Event Timeline

ldionne created this revision.Sep 30 2020, 4:32 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 30 2020, 4:32 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne requested review of this revision.Sep 30 2020, 4:32 PM
This revision is now accepted and ready to land.Oct 1 2020, 5:30 AM
This revision was automatically updated to reflect the committed changes.

Hey Louis, this seems to break on the LLDB bots. Can you please take a look if you haven't done so already?

ld: requested re-export symbol operator new(unsigned long) is not from a dylib, but from projects/libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o
 file 'projects/libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o' for architecture x86_64

http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/24039/console

dmajor added a subscriber: dmajor.Oct 1 2020, 9:41 AM

Hey Louis, this seems to break on the LLDB bots. Can you please take a look if you haven't done so already?

ld: requested re-export symbol operator new(unsigned long) is not from a dylib, but from projects/libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o
 file 'projects/libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o' for architecture x86_64

http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/24039/console

I'm working on a fix right now, I should commit it momentarily.

Hey Louis, this seems to break on the LLDB bots. Can you please take a look if you haven't done so already?

ld: requested re-export symbol operator new(unsigned long) is not from a dylib, but from projects/libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o
 file 'projects/libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o' for architecture x86_64

http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/24039/console

I'm working on a fix right now, I should commit it momentarily.

8654a0f8bbf3e28eb210c75c8c70c739de637226

libcxx/lib/abi/x86_64-apple-darwin.v1.abilist