Displaying 2 results from an estimated 2 matches for "adddefineddatasymbol".
2014 Sep 19
3
[LLVMdev] [RFC] Exhaustive bitcode compatibility tests for IR features
On 19 September 2014 15:54, Steven Wu <stevenwu at apple.com> wrote:
> Yes, we don’t need to edit the assembly in the file, but we need to modified the CHECK line to reflect the output of current llvm-dis. I was talking about updating the CHECK in all the previous version. Does that make sense?
Yes, the CHECK lines would have to be updated, but that seems like a
pretty small annoyance.
2014 Oct 02
2
[LLVMdev] LTOModule::parseSymbols not handling GlobalAlias
...LTOModule on top of IRObjectFile
> http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/195450
>
>
> LTOModule::parseSymbols used to explicitly add global aliases as defined
> symbols:
>
> // add aliases
> for (const auto &Alias : IRFile->aliases())
> addDefinedDataSymbol(Alias);
>
> After your patch I do not seem to see an explicit handling of aliases... I
would
> naively expect something like this:
>
> for (auto &Sym : IRFile->symbols()) {
> .....
> if (isa<GlobalVariable>(GV)) {
> addDefinedDataSymbol(Sym);
>...