Displaying 1 result from an estimated 1 matches for "sf_none".
Did you mean:
f_none
2017 Feb 06
3
Kaleidoscope tutorial: comments, corrections and Windows support
...quot;COFFObjectFile::getSymbolFlags" in
llvm-src/lib/Object/COFFObjectFile.cpp
to additionally OR SymbolRef::SF_Exported to Result:
> uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const {
> COFFSymbolRef Symb = getCOFFSymbol(Ref);
> uint32_t Result = SymbolRef::SF_None;
>
> if (Symb.isExternal() || Symb.isWeakExternal())
> Result |= SymbolRef::SF_Global | SymbolRef::SF_Exported;
Works and sounds reasonable to me, but maybe you can prove me wrong.
- "ready> sin(1.0);": On Windows, this fails with "LLVM ERROR: Program
us...