Closed yota9 closed 2 years ago
Clang recently switched DWARF5 by default. BOLT currently not supporting it. I am working on it, but other things keep coming up. You need to update your testing environment to force DWARF4.
Oh I forgot about it, I thought it was fixed globally :) Thanks!
Can you please apply -gdwarf-4 to cflags like here: https://reviews.llvm.org/D118080 and commit that?
@aaupov Yes, sure, I will make this. I was thinking to add it to global %cflags like you did, it seems to be more right way to do this, what do you think about it? I can replace it in 5 already commited tests too if you don't mind
@aaupov Yes, sure, I will make this. I was thinking to add it to global %cflags like you did, it seems to be more right way to do this, what do you think about it? I can replace it in 5 already commited tests too if you don't mind
I think it's the right way. I've abandoned my diff after David Blaikie pushed his fix (minutes before me), but since AArch64 tests also need fixing, let's make it right this time.
After the latest rebase two tests are failing:
BOLT output:
gdb:
Seems to be looped in patchBinary. @ayermolo Could you please check it?