Add functionality to allow splitting code with C++ exceptions in shared
libraries and PIEs. To overcome a limitation in exception ranges format,
for functions with fragments spanning multiple sections, add trampoline
landing pads in the same section as the corresponding throwing range.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Did you see these errors from the new test?
ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in /tmp/lit-tmp-pe4hpdy9/exceptions_split-6209af.o >>> referenced by exceptions_split.cpp >>> /tmp/lit-tmp-pe4hpdy9/exceptions_split-6209af.o:(main)