This is an archive of the discontinued LLVM Phabricator instance.

[X86][ELF] Correct relocation for DWARF TLS references
ClosedPublic

Authored by probinson on Mar 2 2015, 11:30 AM.

Details

Diff Detail

Event Timeline

probinson updated this revision to Diff 21022.Mar 2 2015, 11:30 AM
probinson retitled this revision from to [X86][ELF] Correct relocation for DWARF TLS references.
probinson updated this object.
probinson edited the test plan for this revision. (Show Details)
probinson added a reviewer: echristo.
probinson added a subscriber: Unknown Object (MLST).
echristo accepted this revision.Mar 3 2015, 11:03 AM
echristo edited edge metadata.

Seems like some overkill on the indirection, but you've said you have some more coming for ps4 so OK.

-eric

This revision is now accepted and ready to land.Mar 3 2015, 11:03 AM
emaste added a subscriber: emaste.Mar 3 2015, 12:16 PM

Could also add:

; RUN: llc %s -o - -filetype=asm -O0 -mtriple=x86_64-unknown-freebsd \
; RUN:   | FileCheck --check-prefix=CHECK --check-prefix=SINGLE --check-prefix=SINGLE-64 %s
probinson added a comment.EditedMar 3 2015, 12:51 PM

I was wondering about FreeBSD, glad to know it's correct. I added the extra RUN line, will commit shortly.

This revision was automatically updated to reflect the committed changes.