summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-obfuscate-loc.h
blob: 00520e825b6a78d5dbe7a765bd9817ef1bb03d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// slang-ir-obfuscate-loc.h
#ifndef SLANG_IR_OBFUSCATE_LOC_H_INCLUDED
#define SLANG_IR_OBFUSCATE_LOC_H_INCLUDED

#include "../compiler-core/slang-source-map.h"
#include "../core/slang-basic.h"
#include "slang-compiler.h"
#include "slang-ir.h"

namespace Slang
{

/*** Obfuscate locs in module. Store the mapping from obfuscated locs to actual locs in the form of
 * a source map */
SlangResult obfuscateModuleLocs(IRModule* module, SourceManager* sourceManager);

} // namespace Slang

#endif