Details
Diff Detail
Event Timeline
test/CodeGen/X86/code-model-eh-frame.ll | ||
---|---|---|
1 | You should be able to test this with llvm-mc, no? |
test/CodeGen/X86/code-model-eh-frame.ll | ||
---|---|---|
1 | Can I? My first try used llvm-mc, but when I asked on IRC, someone (sorry, I don't remember who) answered I must pass -code-model to llc, not llvm-mc. |
lib/MC/MCObjectFileInfo.cpp | ||
---|---|---|
277 | I'd prefer to do a positive check for Small and Medium. JIT for example likely wants to get sdata8 too. |
Ping. Looks reasonable to me, but I'm not an ELF (or DWARF) expert. This like it would fix https://bugs.llvm.org//show_bug.cgi?id=21423, and part of https://bugs.llvm.org//show_bug.cgi?id=15356.
test/CodeGen/X86/code-model-eh-frame.ll | ||
---|---|---|
1 | Agreed. You can do something like the following: echristo@athyra ~/tmp> clang -S bar.c bar.o: file format ELF64-x86-64 RELOCATION RECORDS FOR [.rela.eh_frame]: |
I'd prefer to do a positive check for Small and Medium. JIT for example likely wants to get sdata8 too.