summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/extract.ll
Commit message (Collapse)AuthorAgeFilesLines
* Make GlobalValues with non-default visibilility dso_local.Rafael Espindola2018-01-181-2/+2
| | | | | | | | | | | | This is similar to r322317, but for visibility. It is not as neat because we have to special case extern_weak. The idea is the same as the previous change, make the transition to explicit dso_local easier for the frontends. With this they only have to add dso_local to symbols where we need some external information to decide if it is dso_local (like it being part of an ELF executable). llvm-svn: 322806
* Make internal/private GVs implicitly dso_local.Rafael Espindola2018-01-111-2/+2
| | | | | | | | | | | | | | | | While updating clang tests for having clang set dso_local I noticed that: - There are *a lot* of tests to update. - Many of the updates are redundant. They are redundant because a GV is "obviously dso_local". This patch starts formalizing that a bit by requiring that internal and private GVs be dso_local too. Since they all are, we don't have to print dso_local to the textual representation, making it a bit more compact and easier to read. llvm-svn: 322317
* [llvm-extract] Drop comdats from declarationsReid Kleckner2015-07-061-2/+5
| | | | | | The verifier rejects comdats on declarations. llvm-svn: 241483
* llvm-extract changes linkages so that functions on both sides of theRafael Espindola2012-10-291-4/+5
| | | | | | | split module can see each other. If it is keeping a symbol that already has a non local linkage, it doesn't need to change it. llvm-svn: 166908
* Fix llvm-extract so that it changes the linkage of all GlobalValues toBob Wilson2010-09-231-1/+6
| | | | | | | "external" even when doing lazy bitcode loading. This was broken because a function that is not materialized fails the !isDeclaration() test. llvm-svn: 114666
* Fix llvm-extract -delete's lazy loading to materialize the functions thatDan Gohman2010-09-231-0/+22
will not be deleted, rather than the ones that will. llvm-svn: 114614
OpenPOWER on IntegriCloud