Revert "Don't create a SymbolTable in Function when the LLVMContext discards value...
authorMehdi Amini <mehdi.amini@apple.com>
Sat, 17 Sep 2016 04:36:46 +0000 (04:36 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sat, 17 Sep 2016 04:36:46 +0000 (04:36 +0000)
commit952ed8e36482cc82778acc4e51f69f7034746297
treeb1875111e1dfbd9746c4e39cbd859b5fd0598456
parentb877aeb7c80afd1ae360f4368aee4bb055ed30eb
Revert "Don't create a SymbolTable in Function when the LLVMContext discards value names (NFC)"

This reverts commit r281806. It introduces undefined behavior as an
API is returning a reference to the Symtab

llvm-svn: 281808
llvm/include/llvm/IR/Function.h
llvm/lib/IR/Function.cpp