aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/NaCl/StripMetadata.cpp
AgeCommit message (Collapse)Author
2013-04-12Have the StripMetadata pass also strip unsupported named metadata.Jan Voung
Previously it was just instruction attachments. Depends on a driver change to actually work: https://codereview.chromium.org/14072004/ BUG= http://code.google.com/p/nativeclient/issues/detail?id=3348 Review URL: https://codereview.chromium.org/14022009
2013-03-28Add a pass to strip bitcode metadata.Jan Voung
This only works on instruction attachments for now. Since it is a ModulePass we can add something to strip NamedMetadata based on a whitelist, if we want to retain some of that. It does not touch debug metadata, and leaves -strip-debug to handle that. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3348 Review URL: https://codereview.chromium.org/12844027