search for: getdebuginfoversionfrommodule

Displaying 10 results from an estimated 10 matches for "getdebuginfoversionfrommodule".

2013 Dec 03
2
[LLVMdev] Request to push patches for PR17982 to release 3.4 branch
...a "Debug Info Version" module flag. 196157(dragonegg): Debug info metadata without a version or with an outdated version will be dropped. Add a version here to avoid that. 196158: Debug Info: drop debug info via upgrading path if version number does not match. 196172: Debug Info: rename getDebugInfoVersionFromModule to getDebugMetadataVersionFromModule. Thanks a lot, Manman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131203/575249b3/attachment.html>
2013 Dec 05
2
[LLVMdev] Request to push patches for PR17982 to release 3.4 branch
...>> 196157(dragonegg): Debug info metadata without a version or with an outdated >> version will be dropped. Add a version here to avoid that. >> 196158: Debug Info: drop debug info via upgrading path if version number >> does not match. >> 196172: Debug Info: rename getDebugInfoVersionFromModule to >> getDebugMetadataVersionFromModule. >> >> Thanks a lot, >> Manman >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/ma...
2013 Dec 03
0
[LLVMdev] Request to push patches for PR17982 to release 3.4 branch
...n" module flag. > 196157(dragonegg): Debug info metadata without a version or with an outdated > version will be dropped. Add a version here to avoid that. > 196158: Debug Info: drop debug info via upgrading path if version number > does not match. > 196172: Debug Info: rename getDebugInfoVersionFromModule to > getDebugMetadataVersionFromModule. > > Thanks a lot, > Manman > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
2013 Dec 09
0
[LLVMdev] Request to push patches for PR17982 to release 3.4 branch
...57(dragonegg): Debug info metadata without a version or with an outdated >>> version will be dropped. Add a version here to avoid that. >>> 196158: Debug Info: drop debug info via upgrading path if version number >>> does not match. >>> 196172: Debug Info: rename getDebugInfoVersionFromModule to >>> getDebugMetadataVersionFromModule. >>> >>> Thanks a lot, >>> Manman >>> >>> _______________________________________________ >>> LLVM Developers mailing list >>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu &g...
2013 Nov 22
2
[LLVMdev] bit code file incompatibility due to debug info changes
...ude "llvm/DebugInfo.h" > #include "llvm/IR/Constants.h" > #include "llvm/IR/Function.h" > #include "llvm/IR/IRBuilder.h" > @@ -489,3 +490,11 @@ > > return 0; > } > + > +bool llvm::UpgradeDebugInfo(Module &M) { > + if (getDebugInfoVersionFromModule(M) == LLVMDebugVersion) > + return false; > + > + StripDebugInfo(M); > + return true; > +} > > Of course, testing cases will be added when I actually submit the patch. > > >> >>> >>> To Eric, >>> < You'll want to do it at loadi...
2013 Nov 22
0
[LLVMdev] bit code file incompatibility due to debug info changes
...#include "llvm/AutoUpgrade.h" +#include "llvm/DebugInfo.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" @@ -489,3 +490,11 @@ return 0; } + +bool llvm::UpgradeDebugInfo(Module &M) { + if (getDebugInfoVersionFromModule(M) == LLVMDebugVersion) + return false; + + StripDebugInfo(M); + return true; +} Of course, testing cases will be added when I actually submit the patch. > >> >> To Eric, >> < You'll want to do it at loading time and not worry about merging at >> < all....
2013 Nov 22
0
[LLVMdev] bit code file incompatibility due to debug info changes
...; #include "llvm/IR/Constants.h" >> #include "llvm/IR/Function.h" >> #include "llvm/IR/IRBuilder.h" >> @@ -489,3 +490,11 @@ >> >> return 0; >> } >> + >> +bool llvm::UpgradeDebugInfo(Module &M) { >> + if (getDebugInfoVersionFromModule(M) == LLVMDebugVersion) >> + return false; >> + >> + StripDebugInfo(M); >> + return true; >> +} >> >> Of course, testing cases will be added when I actually submit the patch. >> >>> >>>> >>>> >>>> To E...
2013 Nov 22
2
[LLVMdev] bit code file incompatibility due to debug info changes
...gt; >> #include "llvm/IR/Function.h" > >> #include "llvm/IR/IRBuilder.h" > >> @@ -489,3 +490,11 @@ > >> > >> return 0; > >> } > >> + > >> +bool llvm::UpgradeDebugInfo(Module &M) { > >> + if (getDebugInfoVersionFromModule(M) == LLVMDebugVersion) > >> + return false; > >> + > >> + StripDebugInfo(M); > >> + return true; > >> +} > >> > >> Of course, testing cases will be added when I actually submit the patch. > >> > >>> > >&...
2013 Nov 21
2
[LLVMdev] bit code file incompatibility due to debug info changes
On Thu, Nov 21, 2013 at 11:45 AM, Manman Ren <manman.ren at gmail.com> wrote: > > > > On Thu, Nov 21, 2013 at 11:26 AM, David Blaikie <dblaikie at gmail.com>wrote: > >> >> >> >> On Thu, Nov 21, 2013 at 11:06 AM, Manman Ren <manman.ren at gmail.com>wrote: >> >>> >>> >>> >>> On Thu, Nov 21, 2013 at
2013 Nov 22
0
[LLVMdev] bit code file incompatibility due to debug info changes
...m/IR/Function.h" >> >> #include "llvm/IR/IRBuilder.h" >> >> @@ -489,3 +490,11 @@ >> >> >> >> return 0; >> >> } >> >> + >> >> +bool llvm::UpgradeDebugInfo(Module &M) { >> >> + if (getDebugInfoVersionFromModule(M) == LLVMDebugVersion) >> >> + return false; >> >> + >> >> + StripDebugInfo(M); >> >> + return true; >> >> +} >> >> >> >> Of course, testing cases will be added when I actually submit the >> >> pat...