search for: splitext

Displaying 2 results from an estimated 2 matches for "splitext".

2014 Feb 13
2
[LLVMdev] Bad test health
...9;, '.join(runlines)) print return False return True class LitTestTracker: def __init__(self): self.exts = dict() def is_test(self, path): path = os.path.abspath(path) if not os.path.isfile(path): return False dir = os.path.dirname(path) ext = os.path.splitext(path)[1] return ext in self.exts_for_dir(dir) def exts_for_dir(self, dir): self.add_dir(dir) return self.exts[dir] def add_dir(self, dir): if dir in self.exts: return exts = self.load_exts_from_config(dir) if exts: self.exts[dir] = exts return p...
2014 Sep 15
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
Good tips. Although I have used llvm-link to merge .bc files together, I guess -flto could optimize the resultant .bc file further. As for the assembly, yes it is an issue. Anyway, I'll try to address those sources which are available for being translated into .bc first. Thanks for your advice, Tim. On Mon, Sep 15, 2014 at 2:55 PM, Tim Northover <t.p.northover at gmail.com> wrote: