This is an archive of the discontinued LLVM Phabricator instance.

Update TargetTriple Format Info
ClosedPublic

Authored by neerajbadlani on Dec 4 2014, 4:28 PM.

Details

Reviewers
dsanders
echristo
Summary

It would be good to have what target triple means and its format in the documentation .

Diff Detail

Event Timeline

neerajbadlani retitled this revision from to Update TargetTriple Format Info.
neerajbadlani updated this object.
neerajbadlani edited the test plan for this revision. (Show Details)
neerajbadlani added reviewers: echristo, dsanders.
neerajbadlani added subscribers: Unknown Object (MLST), Unknown Object (MLST).
echristo accepted this revision.Dec 4 2014, 4:30 PM
echristo edited edge metadata.

Do it. LGTM.

Thanks :)

-eric

This revision is now accepted and ready to land.Dec 4 2014, 4:30 PM

Isn't the object format there too now?

That's considered "system" the same way that bare metal elf is -elf.

<abi> is the object format

Source:
http://clang.llvm.org/docs/CrossCompilation.html

The triple has the general format <arch><sub>-<vendor>-<sys>-<abi>, where:
arch = x86, arm, thumb, mips, etc.
sub = for ex. on ARM: v5, v6m, v7a, v7m, etc.
vendor = pc, apple, nvidia, ibm, etc.
sys = none, linux, win32, darwin, cuda, etc.
abi = eabi, gnu, android, macho, elf, etc.

Ah right, inverted those fields. :)

Thanks.

-eric

Hi Eric , I dont have commit rights yet, and I cant figure out code owners from the CODE_OWNERS.txt .

Please if you can commit these changes , or forward these changes to the code_owners.
D6535 , D6507 , D6543

Thanks

mcrosier closed this revision.Dec 5 2014, 8:05 AM
mcrosier added a subscriber: mcrosier.

Committed r223473.